[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120203012241.bcd3d0c8.akpm@linux-foundation.org>
Date: Fri, 3 Feb 2012 01:22:41 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: Cyrill Gorcunov <gorcunov@...nvz.org>,
linux-kernel@...r.kernel.org,
Pavel Emelyanov <xemul@...allels.com>,
Serge Hallyn <serge.hallyn@...onical.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Kees Cook <keescook@...omium.org>, Tejun Heo <tj@...nel.org>,
Andrew Vagin <avagin@...nvz.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Alexey Dobriyan <adobriyan@...il.com>,
Andi Kleen <andi@...stfloor.org>,
KOSAKI Motohiro <kosaki.motohiro@...il.com>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Glauber Costa <glommer@...allels.com>,
Matt Helsley <matthltc@...ibm.com>,
Pekka Enberg <penberg@...nel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
Vasiliy Kulikov <segoon@...nwall.com>, Valdis.Kletnieks@...edu
Subject: Re: [patch cr 2/4] [RFC] syscalls, x86: Add __NR_kcmp syscall v7
On Fri, 3 Feb 2012 10:09:29 +0100 Ingo Molnar <mingo@...e.hu> wrote:
>
> * Cyrill Gorcunov <gorcunov@...nvz.org> wrote:
>
> > > > + get_random_bytes(&cookies[i][j],
> > > > + sizeof(cookies[i][j]));
> > >
> > > ugly line break.
> > >
> >
> > Why? Looks pretty good to me. But sure I'll change it.
>
> It's ugly because it serves no purpose other than pacifying
> checkpatch and makes the code *uglier*.
No it doesn't. For 80-col displays the code is *already wrapped*. And
that wrapping to column 0 is vastly worse than the above.
If we want to increase the standard to (say) 96 cols then fine, I'd be
happy with that. But until we do that we should not create such a
gruesome mess for those who use 80 cols.
> It's a disease. When checkpatch tells you "this line is too
> long" then consider it a code cleanliness warning!
Well yes, if it can be fixed by other means then great.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists