Re: [PATCH v2] perf: arm_cspmu: Fix variable dereference warning

From: Will Deacon
Date: Mon Mar 27 2023 - 11:01:41 EST


On Thu, 2 Mar 2023 14:57:01 -0600, Besar Wicaksono wrote:
> Fix warning message from smatch tool:
> | smatch warnings:
> | drivers/perf/arm_cspmu/arm_cspmu.c:1075 arm_cspmu_find_cpu_container()
> | warn: variable dereferenced before check 'cpu_dev' (see line 1073)
>
>

Applied to will (for-next/perf), thanks!

[1/1] perf: arm_cspmu: Fix variable dereference warning
https://git.kernel.org/will/c/16e15834659e

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev