Re: [PATCH] update checkpatch.pl to version 0.10

Randy Dunlap
2007-09-28T16:57:45Z

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