On Thu, 2012-12-13 at 12:59 -0500, David Miller wrote:
quoted
+ hdr = (u8 *)ndopts.nd_opts_rh;
(u8 *)[SPACE]ndopts...
Really?
checkpatch bleats a --strict message:
CHECK: No space is necessary after a cast
#5: FILE: t.c:5:
+
+ bar = *(int *) foo;
It's 2/1 no space v space in drivers/net and net.
$ git grep -E "\*\) " drivers/net net | wc -l
4293
$ git grep -E "\*\)[^ ;]" drivers/net net | wc -l
8261
There are many false positives in the first case,
not too many for the second.
I was a bit surprised about how many of the
first case existed.