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

From: Stephen Rothwell
Date: Wed Nov 01 2017 - 23:40:21 EST


Hi Kees,

On Wed, 1 Nov 2017 20:04:05 -0700 Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> 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.

Yeah, but there is some testing done before it is included the
auto-latest branch, which is what I fetch for linux-next.

--
Cheers,
Stephen Rothwell