acrn-kernel/arch/powerpc/platforms/52xx
Christophe JAILLET fb3ef6a5af powerpc/52xx: Fix a resource leak in an error handling path
[ Upstream commit 5836947613 ]

The error handling path of mpc52xx_lpbfifo_probe() has a request_irq()
that is not balanced by a corresponding free_irq().

Add the missing call, as already done in the remove function.

Fixes: 3c9059d79f ("powerpc/5200: add LocalPlus bus FIFO device driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/dec1496d46ccd5311d0f6e9f9ca4238be11bf6a6.1643440531.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:50 +01:00
..
Kconfig powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
Makefile powerpc/Makefiles: Convert ifeq to ifdef where possible 2018-08-08 00:32:36 +10:00
efika.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
lite5200.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
lite5200_pm.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
lite5200_sleep.S powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add') 2021-04-23 01:38:03 +10:00
media5200.c powerpc/52xx: Add missing of_node_put() in media5200.c 2022-09-05 17:28:25 +10:00
mpc52xx_common.c powerpc/52xx: Remove dead code, i.e. mpc52xx_get_xtal_freq() 2022-06-22 12:51:49 +10:00
mpc52xx_gpt.c powerpc/52xx: Mark gpt driver as not removable 2022-07-18 23:35:25 +10:00
mpc52xx_lpbfifo.c powerpc/52xx: Fix a resource leak in an error handling path 2022-12-31 13:32:50 +01:00
mpc52xx_pci.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc52xx_pic.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc52xx_pm.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc52xx_sleep.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc5200_simple.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00