public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* */ in string confuses checkpatch.pl
@ 2008-10-21  0:57 penguin-kernel
  2008-10-22  7:56 ` Andy Whitcroft
  0 siblings, 1 reply; 7+ messages in thread
From: penguin-kernel @ 2008-10-21  0:57 UTC (permalink / raw)
  To: apw, rdunlap, jschopp; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-23 11:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21  0:57 */ in string confuses checkpatch.pl penguin-kernel
2008-10-22  7:56 ` Andy Whitcroft
2008-10-22  8:02   ` Tetsuo Handa
2008-10-22  8:31   ` Andy Whitcroft
2008-10-22 11:21     ` Tetsuo Handa
2008-10-23 11:27       ` [checkpatch.pl] two bugs Tetsuo Handa
2008-10-23 11:54         ` Andy Whitcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox