[PATCH] ARM: exynos: Fix refcount leak in exynos_map_pmu

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon Jun 6 02:22:34 PDT 2022


On Mon, 23 May 2022 18:55:13 +0400, Miaoqian Lin wrote:
> of_find_matching_node() returns a node pointer with refcount
> incremented, we should use of_node_put() on it when not need anymore.
> Add missing of_node_put() to avoid refcount leak.
> of_node_put() checks null pointer.
> 
> 

Applied, thanks!

[1/1] ARM: exynos: Fix refcount leak in exynos_map_pmu
      https://git.kernel.org/krzk/linux/c/c4c79525042a4a7df96b73477feaf232fe44ae81

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>



More information about the linux-arm-kernel mailing list