diff options
author | Kees Cook <keescook@chromium.org> | 2017-09-21 01:27:25 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-14 15:19:03 +0100 |
commit | 1b18d05c7c204a59e0ac66cbfa813a7173c4426e (patch) | |
tree | 61566a79f4428305e3aa7feb453bb9713edf8ff9 /mm/slab.h | |
parent | Coccinelle: setup_timer: improve messages from setup_timer (diff) | |
download | linux-1b18d05c7c204a59e0ac66cbfa813a7173c4426e.tar.xz linux-1b18d05c7c204a59e0ac66cbfa813a7173c4426e.zip |
coccinelle: Improve setup_timer.cocci matching
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: Gilles Muller <Gilles.Muller@lip6.fr>
Cc: Nicolas Palix <nicolas.palix@imag.fr>
Cc: Michal Marek <mmarek@suse.com>
Cc: cocci@systeme.lip6.fr
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions