]> git.ipfire.org Git - people/arne_f/kernel.git/commit
tracing: Use cpumask_available() to check if cpumask variable may be used
authorMatthias Kaehlcke <mka@chromium.org>
Fri, 21 Apr 2017 23:41:10 +0000 (16:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:07:02 +0000 (10:07 +0100)
commit8bd71286fde0fe25024c0cc97a91962ec68a74b2
treea6c4720877016cfa543fbd9b7d9314fe3d51b287
parent64696ba9577f7742358cd7be42da2a4eb4877244
tracing: Use cpumask_available() to check if cpumask variable may be used

commit 4dbbe2d8e95c351157f292ece067f985c30c7b53 upstream.

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)

Link: http://lkml.kernel.org/r/20170421234110.117075-1-mka@chromium.org
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/trace.c