Re: [PATCH] tracing: Use cpumask_available() to check if cpumask variable may be used

From: Steven Rostedt
Date: Mon May 08 2017 - 21:24:56 EST


On Mon, 8 May 2017 15:36:16 -0700
Matthias Kaehlcke <mka@xxxxxxxxxxxx> wrote:

> El Fri, Apr 21, 2017 at 04:41:10PM -0700 Matthias Kaehlcke ha dit:
>
> > This fixes the following clang warning:
> >
> > kernel/trace/trace.c:3231:12: warning: address of array 'iter->started'
> > will always evaluate to 'true' [-Wpointer-bool-conversion]
> > if (iter->started)
> >
> > Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
> > ---
> > Dependencies:
> > - "cpumask: Add helper cpumask_available()"
> > - git.kernel.org tip master f7e30f01a9e2
> > - https://patchwork.kernel.org/patch/9678159/
>
> Ping, any comments on this patch?
>
> FYI: the dependency has landed in Linus' tree (f7e30f01a9e2)
>

Thanks for the ping. I'll test it some bit and try to get it out during
this merge window.

-- Steve