summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-01-04 21:34:15 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-01-05 09:53:45 +0100
commita029ccc810b65172e02336d9caa0fe2331dc58b7 (patch)
tree1a1b5e5e6e484a1f8d84bc93983f59c54e2d8aac /arch/mips/pci
parent79876cc1d7b801b28511440e5aec1b31d8df7a73 (diff)
downloadlinux-a029ccc810b65172e02336d9caa0fe2331dc58b7.tar.bz2
MIPS: Loongson64: Add missing of_node_put() in ls2k_reset_init()
This node pointer is returned by of_find_compatible_node() with refcount incremented in ls2k_reset_init(). Calling of_node_put() to aovid the refcount leak. Fixes: 7eb7819a2e12 ("MIPS: Loongson64: Add Loongson-2K1000 reset platform driver") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pci')
0 files changed, 0 insertions, 0 deletions