diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2022-08-25 09:18:44 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-09-01 12:01:40 +0100 |
commit | 6bb0d64c100091e131cd16710b62fda3319cd0af (patch) | |
tree | c55f57c1d909ffbdebfe02d37af34888aaaac8a3 /drivers/amba | |
parent | e62b9e6f25fc99be07c3b7b284262ee74ed645a9 (diff) | |
download | linux-6bb0d64c100091e131cd16710b62fda3319cd0af.tar.bz2 |
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 'drivers/amba')
0 files changed, 0 insertions, 0 deletions