]> git.baikalelectronics.ru Git - kernel.git/commit
timer: Add parenthesis around timer_setup() macro arguments
authorKees Cook <keescook@chromium.org>
Wed, 1 Nov 2017 14:32:50 +0000 (07:32 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 1 Nov 2017 18:05:05 +0000 (19:05 +0100)
commit2a7ba867d87b6e73490f09732efbbf2fe6de6b6c
treeed4e663905248d9c684b1aba69c8736cf3fafebe
parentb8ef8bfd01c1107b22b45cdd145bc9c2ef6f53e7
timer: Add parenthesis around timer_setup() macro arguments

In the case where expressions are passed as macro arguments, the LOCKDEP
version of the timer macros need enclosing parenthesis.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20171101143250.GA65266@beast
include/linux/timer.h