public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* checkpatch bug: space between left parenthesis and asterisk
@ 2007-10-30 19:27 Timur Tabi
  2007-10-30 19:54 ` Zach Brown
  2007-10-30 21:46 ` Andy Whitcroft
  0 siblings, 2 replies; 4+ messages in thread
From: Timur Tabi @ 2007-10-30 19:27 UTC (permalink / raw)
  To: apw, linux-kernel

I'm running checkpatch.pl (dated 10/17), and it complains about this line:

crc = __be32_to_cpu(* ((__be32 *) ((void *) firmware + calc_size)));

the message I get is:

ERROR: need space before that '*' (ctx:BxW)
#721: FILE: arch/powerpc/sysdev/qe_lib/qe.c:527:
+       crc = __be32_to_cpu(* ((__be32 *) ((void *) firmware + calc_size)));
                             ^

so I add a space, and now I get this:

ERROR: no space after that open parenthesis '('
#721: FILE: arch/powerpc/sysdev/qe_lib/qe.c:527:
+       crc = __be32_to_cpu( * ((__be32 *) ((void *) firmware + calc_size)));


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

end of thread, other threads:[~2007-10-30 21:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 19:27 checkpatch bug: space between left parenthesis and asterisk Timur Tabi
2007-10-30 19:54 ` Zach Brown
2007-10-30 20:02   ` Timur Tabi
2007-10-30 21:46 ` Andy Whitcroft

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