summaryrefslogtreecommitdiffstats
path: root/mm/slab.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-09-21 01:27:25 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-14 15:19:03 +0100
commit1b18d05c7c204a59e0ac66cbfa813a7173c4426e (patch)
tree61566a79f4428305e3aa7feb453bb9713edf8ff9 /mm/slab.h
parentCoccinelle: setup_timer: improve messages from setup_timer (diff)
downloadlinux-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