lkml.org 
[lkml]   [2008]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] checkpatch: relax spacing and line length
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@shadowen.org> 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


\
 
 \ /
  Last update: 2008-04-09 19:41    [W:0.069 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site