diff options
author | Ye Guojin <ye.guojin@zte.com.cn> | 2021-11-16 08:10:51 +0000 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-12-16 15:57:57 +0100 |
commit | 858779df1c0787d3fec827fb705708df9ebdb15b (patch) | |
tree | 6a33bd1d946f99a26ab19b37ecfcf0fea3e8a278 /arch/h8300 | |
parent | 906c6bc6e8e5c00cf76488e3023759fdfd6a18af (diff) | |
download | lwn-858779df1c0787d3fec827fb705708df9ebdb15b.tar.gz lwn-858779df1c0787d3fec827fb705708df9ebdb15b.zip |
MIPS: OCTEON: add put_device() after of_find_device_by_node()
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>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions