Christophe JAILLET
66f3c8e5d3
m68k/PCI: Fix a memory leak in an error handling path
[ Upstream commit c3f4ec050f56eeab7c1f290321f9b762c95bd332 ]
If 'ioremap' fails, we must free 'bridge', as done in other error handling
path bellow.
Fixes: 19cc4c843f40 ("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-25 15:41:49 +02:00
..
2017-11-02 11:10:55 +01:00
2020-01-27 14:46:54 +01:00
2017-11-02 11:10:55 +01:00
2020-01-27 14:46:54 +01:00
2020-01-27 14:46:54 +01:00
2020-06-25 15:41:49 +02:00
2017-08-21 11:52:20 +02:00
2017-01-18 17:22:49 -05:00
2017-11-02 11:10:55 +01:00
2020-01-27 14:46:54 +01:00
2017-05-08 17:15:13 -07:00
2020-06-20 10:25:13 +02:00
2019-12-01 09:13:24 +01:00
2017-11-02 11:10:55 +01:00
2020-06-20 10:25:13 +02:00
2018-07-03 11:24:46 +02:00
2020-01-27 14:46:54 +01:00
2020-01-27 14:46:54 +01:00
2020-01-27 14:46:54 +01:00
2020-01-27 14:46:54 +01:00
2020-01-27 14:46:54 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-23 14:35:21 +01:00