Commit 6ae58c74 authored by Alok Tiwari's avatar Alok Tiwari Committed by Will Deacon
Browse files

perf/cxlpmu: Fix devm_kcalloc() argument order in cxl_pmu_probe()



The previous code mistakenly swapped the count and size parameters.
This fix corrects the argument order in devm_kcalloc() to follow the
conventional count, size form, avoiding potential confusion or bugs.

Signed-off-by: default avatarAlok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: default avatarJonathan Cameron <jonathan.cameron@huawei.com>
Link: https://lore.kernel.org/r/20250624194350.109790-2-alok.a.tiwari@oracle.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent ba2ff3e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment