Re: [Cocci] [v7] coccicheck: Support search for SmPL scripts within selecteddirectory hierarchy

2019-11-11 Thread zhong.shiqi
> > Changes in v7: > > 1:adjust coccinelle.rst documentation > > Thanks for your contribution. > > Now I am curious if other contributors will add corresponding review comments. > > > > 2:fix a repo of "default" Sorry...it should be "typo". Thanks Zhong.shiqi > I find th

Re: [Cocci] [v7] coccicheck: Support search for SmPL scripts within selected directory hierarchy

2019-11-11 Thread Markus Elfring
> Changes in v7: > 1:adjust coccinelle.rst documentation Thanks for your contribution. Now I am curious if other contributors will add corresponding review comments. > 2:fix a repo of "default" I find the word “repo” partly unclear at the moment. Regards, Markus __

[Cocci] Checking data processing for parentheses in SmPL scripts

2019-11-11 Thread Markus Elfring
Hello, The following change specification gets accepted by the Coccinelle software. @@ expression X; @@ -((X-1)&X) == 0 +powerof2(X) See also: https://github.com/DragonFlyBSD/DragonFlyBSD/blob/722c3b8b6376deab9407ff00b5e63018ab3aef0b/test/cocci/useful_macros.cocci#L53 I got into the developme