summaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-05-16 11:20:10 +0400
committerHeiko Stuebner <heiko@sntech.de>2022-05-17 10:49:37 +0200
commit9b59588d8be91c96bfb0371e912ceb4f16315dbf (patch)
treef76ae43efbd5e83eccda4bb71ee158e6a7369b6b /mm/util.c
parentadd9f6f30e54b5c07e7a0260cda459ef1d9646b7 (diff)
downloadlinux-stable-9b59588d8be91c96bfb0371e912ceb4f16315dbf.tar.gz
linux-stable-9b59588d8be91c96bfb0371e912ceb4f16315dbf.tar.bz2
linux-stable-9b59588d8be91c96bfb0371e912ceb4f16315dbf.zip
soc: rockchip: Fix refcount leak in rockchip_grf_init
of_find_matching_node_and_match returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak. Fixes: 4c58063d4258 ("soc: rockchip: add driver handling grf setup") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220516072013.19731-1-linmq006@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions