Re: [PATCH] update checkpatch.pl to version 0.10
From: Randy Dunlap
Date: Fri Sep 28 2007 - 12:57:47 EST
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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/