[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6584ad4df04f1_5580229433@iweiny-mobl.notmuch>
Date: Thu, 21 Dec 2023 13:25:34 -0800
From: Ira Weiny <ira.weiny@...el.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>, Dan Williams
<dan.j.williams@...el.com>
CC: Michal Wilczynski <michal.wilczynski@...el.com>, <nvdimm@...ts.linux.dev>,
<linux-acpi@...r.kernel.org>, <rafael@...nel.org>,
<vishal.l.verma@...el.com>, <lenb@...nel.org>, <dave.jiang@...el.com>,
<ira.weiny@...el.com>, <linux-kernel@...r.kernel.org>, Andy Shevchenko
<andy.shevchenko@...il.com>
Subject: Re: [PATCH v3] ACPI: NFIT: Use cleanup.h helpers instead of devm_*()
Rafael J. Wysocki wrote:
> On Wed, Oct 18, 2023 at 6:28 AM Dan Williams <dan.j.williams@...el.com> wrote:
> >
> > Michal Wilczynski wrote:
> > > The new cleanup.h facilities that arrived in v6.5-rc1 can replace the
> > > the usage of devm semantics in acpi_nfit_init_interleave_set(). That
> > > routine appears to only be using devm to avoid goto statements. The
> > > new __free() annotation at variable declaration time can achieve the same
> > > effect more efficiently.
> > >
> > > There is no end user visible side effects of this patch, I was
> > > motivated to send this cleanup to practice using the new helpers.
> > >
> > > Suggested-by: Dave Jiang <dave.jiang@...el.com>
> > > Suggested-by: Andy Shevchenko <andy.shevchenko@...il.com>
> > > Reviewed-by: Dave Jiang <dave.jiang@...el.com>
> > > Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
> > > Signed-off-by: Michal Wilczynski <michal.wilczynski@...el.com>
> > > ---
> > >
> > > Dan, would you like me to give you credit for the changelog changes
> > > with Co-developed-by tag ?
> >
> > Nope, this looks good to me, thanks for fixing it up.
> >
> > Reviewed-by: Dan Williams <dan.j.williams@...el.com>
>
> Are you going to apply it too, or should I take it?
I'm prepping the nvdimm tree for 6.8. I will take it.
Ira
Powered by blists - more mailing lists