[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220823020626.DC695C433D6@smtp.kernel.org>
Date: Mon, 22 Aug 2022 19:06:25 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Jonathan Hunter <jonathanh@...dia.com>,
Miaoqian Lin <linmq006@...il.com>,
Michael Turquette <mturquette@...libre.com>,
Mike Turquette <mturquette@...aro.org>,
Peter De Schrijver <pdeschrijver@...dia.com>,
Prashant Gaikwad <pgaikwad@...dia.com>,
Stephen Warren <swarren@...dia.com>,
Thierry Reding <thierry.reding@...il.com>,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org
Cc: linmq006@...il.com
Subject: Re: [PATCH] clk: tegra20: Fix refcount leak in tegra20_clock_init
Quoting Miaoqian Lin (2022-05-23 08:28:11)
> 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: 37c26a906527 ("clk: tegra: add clock support for Tegra20")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists