From: "Liang He" <windhl@126.com>
To: "Stephen Boyd" <sboyd@kernel.org>
Cc: jonathanh@nvidia.com, pdeschrijver@nvidia.com,
pgaikwad@nvidia.com, thierry.reding@gmail.com,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re:Re: [PATCH v3] drivers: clk: Add missing of_node_put()
Date: Fri, 17 Jun 2022 09:20:13 +0800 (CST) [thread overview]
Message-ID: <454850f.e70.1816f3f14a6.Coremail.windhl@126.com> (raw)
In-Reply-To: <20220617000913.24A4CC34114@smtp.kernel.org>
At 2022-06-17 08:09:11, "Stephen Boyd" <sboyd@kernel.org> wrote:
>Quoting Liang He (2022-06-16 05:54:09)
>> In these clk-related drivers' xxx_init() funcitons, of_find_matching_node()
>> will return a node pointer with refcount incremented. We should use
>> of_node_put() in fail path or when it is not used anymore.
>>
>> Signed-off-by: Liang He <windhl@126.com>
>> ---
>> changelog:
>>
>> v3: merge clk 'missing of_node_put()' patches into one commit.
>> v2: use Liang He as real name for S-o-b.
>> v1: fix the missing of_node_put().
>>
>>
>> drivers/clk/clk-nomadik.c | 5 ++++-
>> drivers/clk/tegra/clk-tegra124.c | 1 +
>> drivers/clk/tegra/clk-tegra30.c | 1 +
>
>Please split into a tegra patch and a nomadik patch.
Thanks, I will split them and resend soon.
prev parent reply other threads:[~2022-06-17 1:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 12:54 [PATCH v3] drivers: clk: Add missing of_node_put() Liang He
2022-06-17 0:09 ` Stephen Boyd
2022-06-17 1:20 ` Liang He [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=454850f.e70.1816f3f14a6.Coremail.windhl@126.com \
--to=windhl@126.com \
--cc=jonathanh@nvidia.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pdeschrijver@nvidia.com \
--cc=pgaikwad@nvidia.com \
--cc=sboyd@kernel.org \
--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