Re: [PATCH v2] coccinelle: add style check for assignment in if

2016-02-09 Thread Julia Lawall
On Tue, 9 Feb 2016, SF Markus Elfring wrote: > > +virtual patch > > How do you think about to use this variable in a subsequent > SmPL rule? > > 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 checkp

Re: [PATCH v2] coccinelle: add style check for assignment in if

2016-02-09 Thread SF Markus Elfring
> +virtual patch How do you think about to use this variable in a subsequent SmPL rule? Would you like to consider also the reuse of SmPL variables like "org" and "report"? Regards, Markus

[PATCH v2] coccinelle: add style check for assignment in if

2016-02-08 Thread Kris Borer
Add a semantic patch for fixing some cases of checkpatch.pl error: ERROR: do not use assignment in if condition Signed-off-by: Kris Borer --- scripts/coccinelle/style/assignment_in_if.cocci | 128 1 file changed, 128 insertions(+) create mode 100644 scripts/coccinelle/

[PATCH v2] coccinelle: add style check for assignment in if

2015-11-17 Thread Kris Borer
Add a semantic patch for fixing some cases of checkpatch.pl error: ERROR: do not use assignment in if condition Signed-off-by: Kris Borer --- scripts/coccinelle/style/assignment_in_if.cocci | 128 1 file changed, 128 insertions(+) create mode 100644 scripts/coccinelle/

[PATCH v2] coccinelle: add style check for assignment in if

2015-08-22 Thread Kris Borer
Add a semantic patch for fixing some cases of checkpatch.pl error: ERROR: do not use assignment in if condition Signed-off-by: Kris Borer Acked-by: Julia Lawall --- scripts/coccinelle/style/assignment_in_if.cocci | 128 1 file changed, 128 insertions(+) create mode 10