android_kernel_oneplus_msm8998/drivers/edac
Christophe JAILLET 997a9f3363 EDAC, mv64x60: Fix an error handling path
[ Upstream commit 68fa24f9121c04ef146b5158f538c8b32f285be5 ]

We should not call edac_mc_del_mc() if a corresponding call to
edac_mc_add_mc() has not been performed yet.

So here, we should go to err instead of err2 to branch at the right
place of the error handling path.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20180107205400.14068-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:23 +02:00
..
altera_edac.c
altera_edac.h
amd64_edac.c
amd64_edac.h
amd64_edac_dbg.c
amd64_edac_inj.c
amd76x_edac.c
amd8111_edac.c
amd8111_edac.h
amd8131_edac.c
amd8131_edac.h
cell_edac.c
cpc925_edac.c
debugfs.c
e7xxx_edac.c
e752x_edac.c
edac_core.h
edac_device.c
edac_device_sysfs.c
edac_mc.c EDAC: Increment correct counter in edac_inc_ue_error() 2016-09-07 08:32:41 +02:00
edac_mc_sysfs.c EDAC: Correct channel count limit 2016-08-20 18:09:19 +02:00
edac_module.c
edac_module.h
edac_pci.c
edac_pci_sysfs.c
edac_stub.c
ghes_edac.c
highbank_l2_edac.c
highbank_mc_edac.c
i7core_edac.c EDAC: i7core, sb_edac: Don't return NOTIFY_BAD from mce_decoder callback 2016-05-04 14:48:48 -07:00
i3000_edac.c
i3200_edac.c
i5000_edac.c EDAC, i5000, i5400: Fix definition of NRECMEMB register 2017-12-16 10:33:54 +01:00
i5100_edac.c
i5400_edac.c EDAC, i5000, i5400: Fix definition of NRECMEMB register 2017-12-16 10:33:54 +01:00
i7300_edac.c
i82443bxgx_edac.c
i82860_edac.c
i82875p_edac.c
i82975x_edac.c
ie31200_edac.c
Kconfig
Makefile
mce_amd.c
mce_amd.h
mpc85xx_edac.c
mpc85xx_edac.h
mv64x60_edac.c EDAC, mv64x60: Fix an error handling path 2018-04-13 19:50:23 +02:00
mv64x60_edac.h
octeon_edac-l2c.c
octeon_edac-lmc.c EDAC, octeon: Fix an uninitialized variable warning 2018-02-16 20:09:47 +01:00
octeon_edac-pc.c
octeon_edac-pci.c
pasemi_edac.c
ppc4xx_edac.c
ppc4xx_edac.h
r82600_edac.c
sb_edac.c EDAC, sb_edac: Fix missing break in switch 2017-12-09 18:42:40 +01:00
synopsys_edac.c
tile_edac.c
x38_edac.c
xgene_edac.c