[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220608092320.1464566-1-f.fainelli@gmail.com>
Date: Wed, 8 Jun 2022 02:23:20 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: bcm-kernel-feedback-list@...adcom.com,
Miaoqian Lin <linmq006@...il.com>,
Russell King <linux@...linux.org.uk>,
Ray Jui <rjui@...adcom.com>,
Scott Branden <sbranden@...adcom.com>,
Christian Daudt <csd@...adcom.com>,
Arnd Bergmann <arnd@...db.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: bcm: Fix refcount leak in bcm_kona_smc_init
On Thu, 26 May 2022 12:13:25 +0400, Miaoqian Lin <linmq006@...il.com> 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@...il.com>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/soc/next, thanks!
--
Florian
Powered by blists - more mailing lists