lkml.org 
[lkml]   [2010]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] checkpatch: allow single space before labels
On Sun, Oct 17, 2010 at 06:21, Peter Zijlstra wrote:
> On Sun, 2010-10-17 at 04:24 -0400, Mike Frysinger wrote:
>> feel free to extend however as long as the end result is no warnings
>> for " foo:" ;).
>
> I utterly detest those indented labels and am eradicating them wherever
> I notice them. There's really no sane reason to use them what so ever.
> Diff can be taught not to get confused about them, see my earlier email.

sure, with enough shell code thrown at a problem, you can do anything.
the change that started these warnings was for an unrelated check.
no one proposed warning on indented labels, nor is there any statement
at all in the coding style on these.

considering you highlighted the biggest reason (diff by default does
not handle them properly), i think that invalidates against your "no
sane reason" statement.
-mike


\
 
 \ /
  Last update: 2010-10-17 12:33    [W:0.072 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site