linux/arch/mips/cavium-octeon
Ye Guojin 6abdf6722c MIPS: OCTEON: add put_device() after of_find_device_by_node()
[ Upstream commit 858779df1c0787d3fec827fb705708df9ebdb15b ]

This was found by coccicheck:
./arch/mips/cavium-octeon/octeon-platform.c, 332, 1-7, ERROR missing
put_device; call of_find_device_by_node on line 324, but without a
corresponding object release within this function.
./arch/mips/cavium-octeon/octeon-platform.c, 395, 1-7, ERROR missing
put_device; call of_find_device_by_node on line 387, but without a
corresponding object release within this function.
./arch/mips/cavium-octeon/octeon-usb.c, 512, 3-9, ERROR missing
put_device; call of_find_device_by_node on line 515, but without a
corresponding object release within this function.
./arch/mips/cavium-octeon/octeon-usb.c, 543, 1-7, ERROR missing
put_device; call of_find_device_by_node on line 515, but without a
corresponding object release within this function.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 09:19:48 +01:00
..
crypto treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
executive MIPS: fix some more fall through errors in arch/mips 2019-07-16 12:40:16 +01:00
Kconfig
Makefile
Platform
cpu.c
csrc-octeon.c MIPS: OCTEON: csrc-octeon: include linux/sched/clock.h 2018-11-21 15:36:42 -08:00
dma-octeon.c MIPS: Octeon: remove duplicated include from dma-octeon.c 2019-08-27 10:59:56 +01:00
flash_setup.c
oct_ilm.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
octeon-irq.c MIPS: OCTEON: irq: Fix potential NULL pointer dereference 2020-04-17 10:50:12 +02:00
octeon-memcpy.S
octeon-platform.c MIPS: OCTEON: add put_device() after of_find_device_by_node() 2022-01-27 09:19:48 +01:00
octeon-usb.c MIPS: OCTEON: add put_device() after of_find_device_by_node() 2022-01-27 09:19:48 +01:00
octeon_boot.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
setup.c MIPS: OCTEON: Drop boot_mem_map 2019-08-23 14:47:05 +01:00
smp.c MIPS: OCTEON: smp: make internal symbols static 2018-11-21 15:36:43 -08:00