Messages in this thread | | | From | Will Deacon <> | Subject | Re: [PATCH] perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator | Date | Mon, 4 Apr 2022 11:10:49 +0100 |
| |
On Sun, 27 Mar 2022 13:57:33 +0800, Xiaomeng Tong wrote: > The bug is here: > return cluster; > > The list iterator value 'cluster' will *always* be set and non-NULL > by list_for_each_entry(), so it is incorrect to assume that the > iterator value will be NULL if the list is empty or no element > is found. > > [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator https://git.kernel.org/arm64/c/2012a9e27901
Cheers, -- Will
https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev
| |