WSL2-Linux-Kernel/arch/powerpc/platforms/52xx
Christophe JAILLET 0accd460dc 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:14:35 +01:00
..
Kconfig Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
Makefile powerpc/Makefiles: Convert ifeq to ifdef where possible 2018-08-08 00:32:36 +10:00
efika.c powerpc/52xx/efika: Move PHB discovery 2021-02-09 00:02:05 +11:00
lite5200.c powerpc/52xx/lite5200: Move PHB discovery 2021-02-09 00:02:05 +11:00
lite5200_pm.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01: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: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:41 +01:00
mpc52xx_common.c powerpc: Make ppc_md.{halt, restart} __noreturn 2016-07-14 21:12:06 +10:00
mpc52xx_gpt.c powerpc: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:41 +01:00
mpc52xx_lpbfifo.c powerpc/52xx: Fix a resource leak in an error handling path 2022-12-31 13:14:35 +01:00
mpc52xx_pci.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
mpc52xx_pic.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
mpc52xx_pm.c powerpc/mpc5200: Remove VLA usage 2018-07-03 12:00:54 +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/52xx/mpc5200_simple: Move PHB discovery 2021-02-09 00:02:06 +11:00