aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2017-05-25 12:58:38 +0000
committerIngo Molnar <[email protected]>2017-06-05 09:28:06 +0200
commitb016d870cadae31d7c5eb2eef794d2e733f6595c (patch)
tree3177494ff8fd977caaf853b7976c1cc4d792f4f5 /tools/perf/util/scripting-engines/trace-event-python.c
parentbb7ea2a9af4c98ed70adf7627a2ba5d1ff1725e0 (diff)
tools/lib/lockdep: Fix 'set but not used' warnings
liblockdep defines trivial macros for working with interrupt flags, as interrupts are never disabled in userland. This results in warnings from gcc when -Wunused-but-set-variable is enabled, and it is enabled by -Wall. Fix this by evaluating the flags parameter and casting it to void. Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions