Solving checkpatch error with lex

Paul Bolle pebolle at tiscali.nl
Wed Dec 17 14:07:53 EST 2014


On Thu, 2014-12-18 at 00:04 +0530, karthik nayak wrote:
> was trying to fix the checkpatch error of not using c99 comments in the 
> file
> drivers/staging/rtl8192u/r8192U_dm.c
> so I wrote a lex program to do so since there were way too many to do it 
> manually.
> Could anyone have a look at my lex code and tell me if I need to change it.
> I have attached the lex code.
> As per my testing it works perfectly, would love a second opinion.

I see no reason to review someone's lex code. I guess very few people
are actually willing to do that.

Why don't you just send in the diff? Or even better, the patch you
intend to submit. Almost everybody here can read diffs or patches.

Hope this helps,


Paul Bolle




More information about the Kernelnewbies mailing list