Skip to content
Commit 2c4e3603 authored by luanshi's avatar luanshi Committed by Greg Kroah-Hartman
Browse files

drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer



[ Upstream commit 3ba52ad5 ]

Fix bogus NULL checks on the return value of acpi_cpu_get_madt_gicc()
by checking for a 0 'gicc->performance_interrupt' value instead.

Signed-off-by: default avatarLiguang Zhang <zhangliguang@linux.alibaba.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1002a094
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment