1
0
Fork 0
alistair23-linux/arch/m68k/coldfire
Christophe JAILLET 02bdd58140 m68k/PCI: Fix a memory leak in an error handling path
[ Upstream commit c3f4ec050f ]

If 'ioremap' fails, we must free 'bridge', as done in other error handling
path bellow.

Fixes: 19cc4c843f ("m68k/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-24 17:50:16 +02:00
..
Makefile m68k: add Sysam stmark2 open board support 2017-11-07 13:27:38 +10:00
amcore.c m68k: add Sysam AMCORE open board support 2016-12-05 08:53:27 +10:00
cache.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clk.c m68k: coldfire: Normalize clk API 2018-07-30 09:15:01 +10:00
device.c m68k: add ColdFire mcf5441x eDMA platform support 2019-02-25 11:04:05 +10:00
dma.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dma_timer.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
entry.S m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
firebee.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gpio.c m68k: coldfire: Include the GPIO driver header 2019-09-09 09:32:32 +10:00
head.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intc-2.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-525x.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-5249.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-5272.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
intc-simr.c m68k: coldfire: move inline before return type 2017-07-12 16:26:04 -07:00
intc.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
m53xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
m54xx.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
m520x.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m523x.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m525x.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m527x.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m528x.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m5206.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m5249.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m5272.c net: phy: fixed-phy: Drop GPIO from fixed_phy_add() 2019-02-04 18:33:36 -08:00
m5307.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m5407.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
m5441x.c m68k: add ColdFire mcf5441x eDMA platform support 2019-02-25 11:04:05 +10:00
mcf8390.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
nettel.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c m68k/PCI: Fix a memory leak in an error handling path 2020-06-24 17:50:16 +02:00
pit.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reset.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
sltimers.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
stmark2.c m68k: add Sysam stmark2 open board support 2017-11-07 13:27:38 +10:00
timers.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vectors.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00