Re: [PATCH] coccinelle: deref_null: avoid useless computation

2018-02-07 Thread Masahiro Yamada
2018-02-03 16:44 GMT+09:00 Julia Lawall : > The effect of the rules ifm1, pr11, and pr12 is only used in the final rule, > which depends on context && !org && !report. Thus these rules should only > be performed in those circumstances. > > Signed-off-by: Julia Lawall

Re: [PATCH] coccinelle: deref_null: avoid useless computation

2018-02-07 Thread Masahiro Yamada
2018-02-03 16:44 GMT+09:00 Julia Lawall : > The effect of the rules ifm1, pr11, and pr12 is only used in the final rule, > which depends on context && !org && !report. Thus these rules should only > be performed in those circumstances. > > Signed-off-by: Julia Lawall > > --- Applied to

[PATCH] coccinelle: deref_null: avoid useless computation

2018-02-03 Thread Julia Lawall
The effect of the rules ifm1, pr11, and pr12 is only used in the final rule, which depends on context && !org && !report. Thus these rules should only be performed in those circumstances. Signed-off-by: Julia Lawall --- scripts/coccinelle/null/deref_null.cocci |6

[PATCH] coccinelle: deref_null: avoid useless computation

2018-02-03 Thread Julia Lawall
The effect of the rules ifm1, pr11, and pr12 is only used in the final rule, which depends on context && !org && !report. Thus these rules should only be performed in those circumstances. Signed-off-by: Julia Lawall --- scripts/coccinelle/null/deref_null.cocci |6 +++--- 1 file changed, 3