diff options
author | 2022-08-25 09:18:44 +0800 | |
---|---|---|
committer | 2022-09-01 12:01:40 +0100 | |
commit | 6bb0d64c100091e131cd16710b62fda3319cd0af (patch) | |
tree | c55f57c1d909ffbdebfe02d37af34888aaaac8a3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | arm64: head: Ignore bogus KASLR displacement on non-relocatable kernels (diff) | |
download | wireguard-linux-6bb0d64c100091e131cd16710b62fda3319cd0af.tar.xz wireguard-linux-6bb0d64c100091e131cd16710b62fda3319cd0af.zip |
perf/arm_pmu_platform: fix tests for platform_get_irq() failure
The platform_get_irq() returns negative error codes. It can't actually
return zero.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Link: https://lore.kernel.org/r/20220825011844.8536-1-yuzhe@nfschina.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions