Re: [patch] checkpatch: relax spacing and line length

From: Andi Kleen
Date: Wed Apr 09 2008 - 13:39:28 EST


On Wed, Apr 09, 2008 at 09:53:26AM -0700, Andrew Morton wrote:
> On Wed, 9 Apr 2008 14:58:40 +0100 Andy Whitcroft <apw@xxxxxxxxxxxx> wrote:
>
> > The originally suggested layout was:
> >
> > printk(
> > "Oh ....",
> > a, b);
>
> Dunno about others, but when I see that idiom I fall over stunned and
> can't get up again.

Not sure what the problem is. But my original proposal had two alternatives.

Either unindent (as above) or exceed 80 characters for the format string as
needed to keep it together.

I've used both in the past and don't have a particular preference.

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