[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <25759.1285169592@redhat.com>
Date: Wed, 22 Sep 2010 16:33:12 +0100
From: David Howells <dhowells@...hat.com>
To: Joe Perches <joe@...ches.com>
Cc: dhowells@...hat.com, Andy Whitcroft <apw@...onical.com>,
linux-kernel@...r.kernel.org
Subject: Re: checkpatch problem
Joe Perches <joe@...ches.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
--
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