On Fri, 28 Sep 2007 16:19:01 +0200 (CEST) Jan Engelhardt wrote: > > On Sep 28 2007 19:03, WANG Cong wrote: > > > >Maybe checkpatch.pl needs an option '-W' to turn on/off those vexed "noise". > >(It seems that 'q|quiet' doesn't do as much as what it hints.) > > Make checkpatch.pl a C language parser, then it can handle > all the whitespace violations without false positives. :-)
Well, yes, that's the root problem. checkpatch is a regex tool, not a C parser. And like Andy commented in another mail in this thread, (esp. since it's not a C parser), it's just a guide. --- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/