lkml.org 
[lkml]   [2010]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: checkpatch problem
Date
Joe Perches <joe@perches.com> wrote:

> Maybe restrict the test to $logFunctions that have whitespace
> before newlines?
>
> Something like below.
>
> Caveat: it doesn't necessarily report on the proper line.
>
> For instance:
> printk(KERN_DEBUG "ABCDEF \n");
> vs
> printk(KERN_DEBUG "ABC"
> "DEF \n");
>
> The second example reports the whitespace on the first line,
> not the second line.
>
> scripts/checkpatch.pl | 21 ++++++++++++++++-----
> 1 files changed, 16 insertions(+), 5 deletions(-)

Works for me.

David


\
 
 \ /
  Last update: 2010-09-22 17:37    [from the cache]
©2003-2011 Jasper Spaans