Re: [PATCH -next] perf/arm_dmc620_pmu: Fix error return code in dmc620_pmu_device_probe()

2021-03-12 Thread Will Deacon
On Fri, 12 Mar 2021 08:04:21 +, 'Wei Yongjun wrote: > Fix to return negative error code -ENOMEM from the error handling > case instead of 0, as done elsewhere in this function. Applied to arm64 (for-next/fixes), thanks! [1/1] perf/arm_dmc620_pmu: Fix error return code in

[PATCH -next] perf/arm_dmc620_pmu: Fix error return code in dmc620_pmu_device_probe()

2021-03-11 Thread 'Wei Yongjun
From: Wei Yongjun Fix to return negative error code -ENOMEM from the error handling case instead of 0, as done elsewhere in this function. Fixes: 53c218da220c ("driver/perf: Add PMU driver for the ARM DMC-620 memory controller") Reported-by: Hulk Robot Signed-off-by: Wei Yongjun ---