perf: check return value of armpmu_request_irq()
authorRen Yu <renyu@nfschina.com>
Mon, 25 Apr 2022 10:04:36 +0000 (18:04 +0800)
committerWill Deacon <will@kernel.org>
Fri, 6 May 2022 14:04:48 +0000 (15:04 +0100)
commit4b5b7129095b265ba3bae8a6553d22a41e078b96
treed38e383efde8b11dd4901bfa59c9c1ac2b703d90
parentc7a9dcea8e98377734821d41cd37bb96add9ca1c
perf: check return value of armpmu_request_irq()

When the function armpmu_request_irq() failed, goto err

Signed-off-by: Ren Yu <renyu@nfschina.com>
Link: https://lore.kernel.org/r/20220425100436.4881-1-renyu@nfschina.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_pmu_acpi.c