From: Stephen Boyd <sboyd@kernel.org>
To: David Hunter <david.hunter.linux@gmail.com>,
david@lechnology.com, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org, mturquette@baylibre.com
Cc: David Hunter <david.hunter.linux@gmail.com>,
julia.lawall@inria.fr, skhan@linuxfoundation.org,
javier.carrasco.cruz@gmail.com
Subject: Re: [PATCH] da8xx-cfgchip.c: replace of_node_put with __free improves cleanup
Date: Mon, 29 Jul 2024 16:19:59 -0700 [thread overview]
Message-ID: <befaae6341af835dab1349eb351b0bca.sboyd@kernel.org> (raw)
In-Reply-To: <20240720152447.311442-1-david.hunter.linux@gmail.com>
Quoting David Hunter (2024-07-20 08:24:47)
> The use of the __free function allows the cleanup to be based on scope
> instead of on another function called later. This makes the cleanup
> automatic and less susceptible to errors later.
>
> This code was compiled without errors or warnings.
>
> Signed-off-by: David Hunter <david.hunter.linux@gmail.com>
> ---
Applied to clk-next
prev parent reply other threads:[~2024-07-29 23:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-20 15:24 [PATCH] da8xx-cfgchip.c: replace of_node_put with __free improves cleanup David Hunter
2024-07-20 16:18 ` David Lechner
2024-07-29 23:19 ` 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=befaae6341af835dab1349eb351b0bca.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=david.hunter.linux@gmail.com \
--cc=david@lechnology.com \
--cc=javier.carrasco.cruz@gmail.com \
--cc=julia.lawall@inria.fr \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=skhan@linuxfoundation.org \
/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