[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABb+yY2MjYkVCpYjVXCxiNDizCoOCf42p7w0=B4W=EapJ++CvQ@mail.gmail.com>
Date: Wed, 4 Sep 2024 09:44:03 -0500
From: Jassi Brar <jassisinghbrar@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mailbox: Use of_property_match_string() instead of open-coding
On Wed, Sep 4, 2024 at 8:20 AM Rob Herring <robh@...nel.org> wrote:
>
> On Tue, Sep 3, 2024 at 4:05 PM Jassi Brar <jassisinghbrar@...il.com> wrote:
> >
> > On Tue, Sep 3, 2024 at 2:18 PM Rob Herring <robh@...nel.org> wrote:
> > >
> > > On Wed, Jul 31, 2024 at 3:16 PM Rob Herring (Arm) <robh@...nel.org> wrote:
> > > >
> > > > Use of_property_match_string() instead of open-coding the search. With
> > > > this, of_get_property() can be removed as there is no need to check for
> > > > "mbox-names" presence first.
> > > >
> > > > This is part of a larger effort to remove callers of of_get_property()
> > > > and similar functions. of_get_property() leaks the DT property data
> > > > pointer which is a problem for dynamically allocated nodes which may
> > > > be freed.
> > > >
> > > > Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
> > > > ---
> > > > drivers/mailbox/mailbox.c | 22 ++++++----------------
> > > > 1 file changed, 6 insertions(+), 16 deletions(-)
> > >
> > > Ping!
> > >
> > Acked-by: Jassi Brar <jassisinghbrar@...il.com>
>
> Don't need an ack, are you going to apply?
>
Yes I was and will be if you won't.
-Jassi
Powered by blists - more mailing lists