Re: [Cocci] [PATCH v2 01/31] coccinelle: Improve setup_timer.cocci matching

2017-11-06 Thread Masahiro Yamada
2017-09-24 5:43 GMT+09:00 Julia Lawall : > > > On Wed, 20 Sep 2017, Kees Cook wrote: > >> This improves the patch mode of setup_timer.cocci. Several patterns >> were missing: >> - assignments-before-init_timer() cases >> - limit the .data case removal to the specific struct

Re: [Cocci] [PATCH v2 01/31] coccinelle: Improve setup_timer.cocci matching

2017-09-23 Thread Julia Lawall
On Wed, 20 Sep 2017, Kees Cook wrote: > This improves the patch mode of setup_timer.cocci. Several patterns > were missing: > - assignments-before-init_timer() cases > - limit the .data case removal to the specific struct timer_list instance > - handling calls by dereference (timer->field vs

[Cocci] [PATCH v2 01/31] coccinelle: Improve setup_timer.cocci matching

2017-09-20 Thread Kees Cook
This improves the patch mode of setup_timer.cocci. Several patterns were missing: - assignments-before-init_timer() cases - limit the .data case removal to the specific struct timer_list instance - handling calls by dereference (timer->field vs timer.field) Cc: Julia Lawall