[PATCH] soc: rockchip: Fix refcount leak in rockchip_grf_init
Heiko Stuebner
heiko at sntech.de
Tue May 17 10:45:34 PDT 2022
On Mon, 16 May 2022 11:20:10 +0400, Miaoqian Lin wrote:
> 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.
Applied, thanks!
[1/1] soc: rockchip: Fix refcount leak in rockchip_grf_init
commit: 9b59588d8be91c96bfb0371e912ceb4f16315dbf
Best regards,
--
Heiko Stuebner <heiko at sntech.de>
More information about the linux-arm-kernel
mailing list