Re: [PATCH] ARM: bcm: Fix refcount leak in bcm_kona_smc_init

From: Florian Fainelli
Date: Wed Jun 08 2022 - 05:55:22 EST


On Thu, 26 May 2022 12:13:25 +0400, Miaoqian Lin <linmq006@xxxxxxxxx> 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.
>
> Fixes: b8eb35fd594a ("ARM: bcm281xx: Add L2 cache enable code")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/soc/next, thanks!
--
Florian