summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-03-09 12:17:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-08 15:23:39 +0300
commit69155dc2e04777aa94207a73a8b10f12b8428a68 (patch)
tree04ae83ec228d657a11a7387904f98cc7ced81904 /arch
parent32939187f254171a5666badc058bc3787fe454af (diff)
downloadlinux-69155dc2e04777aa94207a73a8b10f12b8428a68.tar.xz
mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
[ Upstream commit 4528668ca331f7ce5999b7746657b46db5b3b785 ] The of_find_compatible_node() function returns a node pointer with refcount incremented, We should use of_node_put() on it when done Add the missing of_node_put() to release the refcount. Fixes: 2121aa3e2312 ("mips: cdmm: Add mti,mips-cdmm dtb node support") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Acked-by: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions