From: Stephen Boyd <sboyd@kernel.org>
To: Jonathan Hunter <jonathanh@nvidia.com>,
Miaoqian Lin <linmq006@gmail.com>,
Michael Turquette <mturquette@baylibre.com>,
Mike Turquette <mturquette@linaro.org>,
Peter De Schrijver <pdeschrijver@nvidia.com>,
Prashant Gaikwad <pgaikwad@nvidia.com>,
Stephen Warren <swarren@nvidia.com>,
Thierry Reding <thierry.reding@gmail.com>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-tegra@vger.kernel.org
Cc: linmq006@gmail.com
Subject: Re: [PATCH] clk: tegra: Fix refcount leak in tegra114_clock_init
Date: Mon, 22 Aug 2022 19:05:58 -0700 [thread overview]
Message-ID: <20220823020600.281CDC433D6@smtp.kernel.org> (raw)
In-Reply-To: <20220523143834.7587-1-linmq006@gmail.com>
Quoting Miaoqian Lin (2022-05-23 07:38:34)
> 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: 2cb5efefd6f7 ("clk: tegra: Implement clocks for Tegra114")
> Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
> ---
Applied to clk-next
prev parent reply other threads:[~2022-08-23 2:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-23 14:38 [PATCH] clk: tegra: Fix refcount leak in tegra114_clock_init Miaoqian Lin
2022-08-23 2:05 ` Stephen Boyd [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220823020600.281CDC433D6@smtp.kernel.org \
--to=sboyd@kernel.org \
--cc=jonathanh@nvidia.com \
--cc=linmq006@gmail.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=mturquette@linaro.org \
--cc=pdeschrijver@nvidia.com \
--cc=pgaikwad@nvidia.com \
--cc=swarren@nvidia.com \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).