Re: [PATCH] checkpatch: update the 80-char-line check to allow for long strings

From: Andy Whitcroft
Date: Wed May 14 2008 - 12:00:57 EST


On Wed, May 14, 2008 at 10:49:38AM -0400, Andres Salomon wrote:
> On Wed, 14 May 2008 09:49:06 +0200
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > On Wed, 2008-05-14 at 00:53 -0400, Andres Salomon wrote:
> > > 19:29 * dilinger sends his patch to lkml for a proper flaming
> > > 19:32 Quozl> dilinger: it's called "patch hardening"? ;-} the
> > > heat of the flames makes the patch stronger.
> > >
> > > I've wasted too much time massaging printk strings in order to
> > > satisfy checkpatch.pl. Comments on this?
> >
> > How about treating like its meant to be; as a guide instead of a hard
> > rule. That means you can ignore it with good taste.. :-)
> >
> >
>
> The point is that we tell people to make sure that their patches are
> checkpatch-clean. Let's make the tool reflect what we're actually
> looking for.

We did have a mini discussion on this when Ingo suggested allowing the
strings to run off the end of the line so that grep would work. I did
put together a patch then for this. There was no real response to the
suggestion we should take that recommendation into CodingStyle and thus
into checkpatch.

-apw
--
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/