From: David Lechner <david@lechnology.com>
To: David Hunter <david.hunter.linux@gmail.com>,
mturquette@baylibre.com, sboyd@kernel.org,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: 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: Sat, 20 Jul 2024 11:18:22 -0500 [thread overview]
Message-ID: <d90eb536-0608-4093-9e9d-643f8af6d1b0@lechnology.com> (raw)
In-Reply-To: <20240720152447.311442-1-david.hunter.linux@gmail.com>
On 7/20/24 10:24 AM, David Hunter wrote:
> 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>
> ---
Reviewed-by: David Lechner <david@lechnology.com>
next prev parent reply other threads:[~2024-07-20 16:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-20 15:24 David Hunter
2024-07-20 16:18 ` David Lechner [this message]
2024-07-29 23:19 ` Stephen Boyd
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=d90eb536-0608-4093-9e9d-643f8af6d1b0@lechnology.com \
--to=david@lechnology.com \
--cc=david.hunter.linux@gmail.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=sboyd@kernel.org \
--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
all inboxes | Powered by JetHome®