linux/arch/mips/sgi-ip22
Haoxiang Li 548e158dbf MIPS: Fix a reference leak bug in ip22_check_gio()
[ Upstream commit 680ad315ca ]

If gio_device_register fails, gio_dev_put() is required to
drop the gio_dev device reference.

Fixes: e84de0c619 ("MIPS: GIO bus support for SGI IP22/28")
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-01-02 12:56:52 +01:00
..
ip22-berr.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
ip22-eisa.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
ip22-gio.c MIPS: Fix a reference leak bug in ip22_check_gio() 2026-01-02 12:56:52 +01:00
ip22-hpc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-int.c MIPS: sgi-ip22: Add prototypes for several functions to header 2024-06-11 13:10:33 +02:00
ip22-mc.c MIPS: SGI-IP22/28: Use PROM for memory detection 2019-10-09 14:55:57 -07:00
ip22-nvram.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-platform.c tty: serial: ip22zilog: Use platform device for probing 2025-08-14 11:58:40 +02:00
ip22-reset.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
ip22-setup.c MIPS: sgi-ip22: Replace deprecated strcpy() in plat_mem_setup() 2025-08-29 22:34:29 +02:00
ip22-time.c mips: Use the core irq stats function 2014-03-04 17:37:53 +01:00
ip28-berr.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Platform MIPS: SGI-IP22: Remove unnecessary check of GCC option 2021-12-14 10:02:40 +01:00