Re: coccinelle: add style check for assignment in if

2016-02-10 Thread Kris Borer
On Wed, Feb 10, 2016 at 4:00 AM, SF Markus Elfring wrote: > Kris Borer suggested a SmPL script which can generate (only) patches > so far by the usual application of the Coccinelle software. > I assume that this approach was limited just because Julia Lawall > indicated that this functionality wou

Re: coccinelle: add style check for assignment in if

2016-02-10 Thread SF Markus Elfring
>> Can the check result display be more convenient from the semantic >> patch script interface in comparison to the other tool? > > -ENOPARSE. More detail please. Kris Borer suggested a SmPL script which can generate (only) patches so far by the usual application of the Coccinelle software. I as

Re: coccinelle: add style check for assignment in if

2016-02-09 Thread Joe Perches
On Tue, 2016-02-09 at 13:55 +0100, SF Markus Elfring wrote: > > > Would you like to consider also the reuse of SmPL variables > > > like "org" and "report"? > > > > I think that there is no point for these things, because checkpatch > > already gives warnings about this issue. > > Can the check r

Re: coccinelle: add style check for assignment in if

2016-02-09 Thread SF Markus Elfring
>> Would you like to consider also the reuse of SmPL variables >> like "org" and "report"? > > I think that there is no point for these things, because checkpatch > already gives warnings about this issue. Can the check result display be more convenient from the semantic patch script interface in