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

From: Matthias Kaehlcke
Date: Mon May 08 2017 - 18:36:23 EST


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

Matthias