diff options
| author | Wei Yongjun <[email protected]> | 2021-03-12 08:04:21 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2021-03-12 11:30:31 +0000 |
| commit | c8e3866836528a4ba3b0535834f03768d74f7d8e (patch) | |
| tree | 165a408b03b5f51cb35195f96b382cfc96bc1e93 /drivers/usb/cdns3/core.c | |
| parent | arm64: mm: remove unused __cpu_uses_extended_idmap[_level()] (diff) | |
| download | kernel-c8e3866836528a4ba3b0535834f03768d74f7d8e.tar.gz kernel-c8e3866836528a4ba3b0535834f03768d74f7d8e.zip | |
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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions
