Re: [PATCH] Drop 80-character limit in checkpatch.pl
- From: Alex Chiang <achiang@xxxxxx>
- Date: Wed, 16 Dec 2009 12:59:35 -0700
I've no comments on the actual patch but...
* Mikulas Patocka <mpatocka@xxxxxxxxxx>:
Drop 80-character limit in checkpatch.pl
Serious issues:
===============
(1) The code is hard to edit with common text editors
You mention vi; most distros provide vim these days.
In my .vimrc, I have:
set ai
set si
That helps a bit.
(2) Grepping the code is unreliable
Reviewers (at least in my part of the kernel) have been
requesting that user-visible (and thus developer greppable)
output be combined on one line precisely for this reason.
We've been rejecting patches that unnecessarily break up these
strings at 80 cols.
But some maintainers take output of the script checkpatch.pl
dogmatically, requiring that every new work must pass the
script without a warning.
This is the real problem. And I think the solution is to lobby
your maintainer.
fwiw,
/ac
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] Drop 80-character limit in checkpatch.pl
- From: Mikulas Patocka
- [PATCH] Drop 80-character limit in checkpatch.pl
- Prev by Date: Re: [PATCH] move eject code from zd1211rw to usb-storage
- Next by Date: Hi Dear,
- Previous by thread: Re: [PATCH] Drop 80-character limit in checkpatch.pl
- Next by thread: Re: [PATCH] Drop 80-character limit in checkpatch.pl
- Index(es):
Relevant Pages
|