asterisk-slash sequence in quoted string confuses

From: Tetsuo Handa
Date: Tue Oct 21 2008 - 07:25:26 EST

[Reposting since the webmail system broke the code by adding backslashes. ]


The below code confuses ver 0.21.

# cat /tmp/foo.c
void foo(void)
bar(" /proc/\\*/");
bar(" /proc/\\$/");
# /usr/src/vanilla/linux- --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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at