summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-09-20 16:27:25 -0700
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-14 23:19:03 +0900
commit1b18d05c7c204a59e0ac66cbfa813a7173c4426e (patch)
tree61566a79f4428305e3aa7feb453bb9713edf8ff9 /kernel
parentbc27b77df1939b9567aa468c47d4a5784f40cfa1 (diff)
downloadlinux-stable-1b18d05c7c204a59e0ac66cbfa813a7173c4426e.tar.gz
linux-stable-1b18d05c7c204a59e0ac66cbfa813a7173c4426e.tar.bz2
linux-stable-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 'kernel')
0 files changed, 0 insertions, 0 deletions