Re: [PATCH] timer: Add parenthesis around timer_setup() macro arguments

From: Kees Cook
Date: Wed Nov 01 2017 - 23:04:13 EST


On Wed, Nov 1, 2017 at 7:33 PM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi Kees,
>
> On Wed, 1 Nov 2017 07:32:50 -0700 Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>>
>> 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@xxxxxxxxxxxxxxxx>
>> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> I have applied that patch to linux-next today pending it appearing in
> the tip tree.

Thanks! It should be there in tip/timers/core as of several hours ago.

-Kees

--
Kees Cook
Pixel Security