Skip to content
Commit 3ba52ad5 authored by luanshi's avatar luanshi Committed by Will Deacon
Browse files

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



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>
parent 049d9191
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment