[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200810212025.FCC73959.OJVHMOLOFFSQtF@I-love.SAKURA.ne.jp>
Date: Tue, 21 Oct 2008 20:25:09 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: apw@...dowen.org, rdunlap@...otime.net, jschopp@...tin.ibm.com
Cc: linux-kernel@...r.kernel.org
Subject: asterisk-slash sequence in quoted string confuses checkpatch.pl
[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/\\$/");
^
total: 1 errors, 0 warnings, 5 lines checked
/tmp/foo.c has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
--
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