lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABb+yY1W53SJ1r1yspQpaBjMH+JPC89yBM7G9+WoewSJgjD+Mw@mail.gmail.com>
Date: Tue, 3 Sep 2024 16:05:06 -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 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>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ