lkml.org 
[lkml]   [2010]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: New 2.6.36 checkpatch complaints about leading whitespace
On Sat, Oct 30, 2010 at 11:35:22AM +0200, Bart Van Assche wrote:
> Hello Andy,
>
> Apparently the checkpatch.pl script as included in 2.6.36 complains if
> continued lines start with whitespace. An example:
>
> [ ... ]
> +#if defined(MACRO_NAME_1) || defined(MACRO_NAME_2) \
> + || defined(MACRO_NAME_3)
> [ ... ]
>
> checkpatch.pl reports the following warning for the above patch excerpt:
>
> WARNING: please, no space for starting a line,
> excluding comments
>
> Is that a feature or an unintended side effect of recent checkpatch changes ?

My personal expectation would be for that second line to be indented
with a tab. But I might be convinced otherwise?

-apw


\
 
 \ /
  Last update: 2010-11-01 05:13    [W:0.033 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site