WSL2-Linux-Kernel/drivers/perf
Wei Yongjun c8e3866836 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: 53c218da22 ("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>
2021-03-12 11:30:31 +00:00
..
hisilicon perf: hisi: Constify static struct attribute_group 2021-01-20 17:51:22 +00:00
Kconfig driver/perf: Remove ARM_SMMU_V3_PMU dependency on ARM_SMMU_V3 2021-02-01 12:39:40 +00:00
Makefile driver/perf: Add PMU driver for the ARM DMC-620 memory controller 2020-11-25 14:51:21 +00:00
arm-cci.c drivers/perf: Replace spin_lock_irqsave to spin_lock 2021-02-10 18:50:42 +00:00
arm-ccn.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
arm-cmn.c perf/arm-cmn: Move IRQs when migrating context 2021-01-28 20:14:45 +00:00
arm_dmc620_pmu.c perf/arm_dmc620_pmu: Fix error return code in dmc620_pmu_device_probe() 2021-03-12 11:30:31 +00:00
arm_dsu_pmu.c perf: remove duplicate check on fwnode 2020-11-25 15:02:08 +00:00
arm_pmu.c perf: Constify static struct attribute_group 2021-01-20 17:51:23 +00:00
arm_pmu_acpi.c drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer 2020-03-02 12:07:35 +00:00
arm_pmu_platform.c perf: Convert to using %pOFn instead of device_node.name 2018-10-01 11:33:17 +01:00
arm_smmuv3_pmu.c perf: Constify static struct attribute_group 2021-01-20 17:51:23 +00:00
arm_spe_pmu.c perf: Constify static struct attribute_group 2021-01-20 17:51:23 +00:00
fsl_imx8_ddr_perf.c perf/imx_ddr: Constify static struct attribute_group 2021-01-20 17:51:22 +00:00
qcom_l2_pmu.c perf: qcom: Constify static struct attribute_group 2021-01-20 17:51:22 +00:00
qcom_l3_pmu.c perf: qcom: Constify static struct attribute_group 2021-01-20 17:51:22 +00:00
thunderx2_pmu.c drivers/perf: thunderx2_pmu: Fix memory resource error handling 2020-09-18 14:34:51 +01:00
xgene_pmu.c drivers/perf: Replace spin_lock_irqsave to spin_lock 2021-02-10 18:50:42 +00:00