[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081023141437.GE8343@brain>
Date: Thu, 23 Oct 2008 15:14:37 +0100
From: Andy Whitcroft <apw@...dowen.org>
To: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
Cc: rdunlap@...otime.net, jschopp@...tin.ibm.com,
linux-kernel@...r.kernel.org
Subject: Re: asterisk-slash sequence in quoted string confuses checkpatch.pl
On Tue, Oct 21, 2008 at 08:25:09PM +0900, Tetsuo Handa wrote:
> [Reposting since the webmail system broke the code by adding backslashes. ]
>
> Hello.
>
> The below code confuses checkpatch.pl ver 0.21.
>
> Regards.
> ----------
> # cat /tmp/foo.c
> void foo(void)
> {
> bar(" /proc/\\*/");
> bar(" /proc/\\$/");
> }
> # /usr/src/vanilla/linux-2.6.27.2/scripts/checkpatch.pl --file /tmp/foo.c
> ERROR: need consistent spacing around '/' (ctx:WxV)
> #4: FILE: tmp/foo.c:4:
> + bar(" /proc/\\$/");
We believe that this is fixed in the latest release, and indeed I believe
you have acked. But I'll reply again here for completeness.
-apw
--
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