summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-03-12 11:04:21 +0300
committerWill Deacon <will@kernel.org>2021-03-12 14:30:31 +0300
commitc8e3866836528a4ba3b0535834f03768d74f7d8e (patch)
tree165a408b03b5f51cb35195f96b382cfc96bc1e93 /mm
parent30b2675761b8a1a2b6ef56b535ef51b789bb7150 (diff)
downloadlinux-c8e3866836528a4ba3b0535834f03768d74f7d8e.tar.xz
perf/arm_dmc620_pmu: Fix error return code in dmc620_pmu_device_probe()
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 <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20210312080421.277562-1-weiyongjun1@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions