diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-15 12:24:25 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-15 12:24:25 +0300 |
commit | 0d2b5cdc76ff7eef9d727c2e802213ec15d5e94f (patch) | |
tree | bff2abc14b7f0afd0be37733f885f600e2628498 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 454593e54cac126a0f49d4b65f90a5e518c51404 (diff) | |
download | linux-0d2b5cdc76ff7eef9d727c2e802213ec15d5e94f.tar.xz |
powerpc/64e: Fix bogus usage of WARN_ONCE()
WARN_ONCE() takes a condition and a format string. We were passing a
constant string as the condition, and the function name as the format
string. It would work, but the message would be just the function name.
Fix it by just using WARN_ONCE() directly instead of if (x) WARN_ONCE().
Noticed-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions