[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220823020521.7B832C433D6@smtp.kernel.org>
Date: Mon, 22 Aug 2022 19:05:19 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Jonathan Hunter <jonathanh@...dia.com>,
Miaoqian Lin <linmq006@...il.com>,
Michael Turquette <mturquette@...libre.com>,
Peter De Schrijver <pdeschrijver@...dia.com>,
Prashant Gaikwad <pgaikwad@...dia.com>,
Rhyland Klein <rklein@...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: tegra: Fix refcount leak in tegra210_clock_init
Quoting Miaoqian Lin (2022-05-23 07:26:08)
> 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: 6b301a059eb2 ("clk: tegra: Add support for Tegra210 clocks")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists