[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bcf0cbee-a001-4922-b0d5-c2f88b8c9724@ti.com>
Date: Thu, 1 Aug 2024 12:39:51 +0530
From: "Anwar, Md Danish" <a0501179@...com>
To: "Rob Herring (Arm)" <robh@...nel.org>,
Madalin Bucur
<madalin.bucur@....com>,
Sean Anderson <sean.anderson@...o.com>,
"David S.
Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub
Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, MD Danish Anwar
<danishanwar@...com>,
Roger Quadros <rogerq@...nel.org>,
Radhey Shyam Pandey
<radhey.shyam.pandey@....com>,
Michal Simek <michal.simek@....com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH net-next] net: Use of_property_read_bool()
On 8/1/2024 12:46 AM, Rob Herring (Arm) wrote:
> Use of_property_read_bool() to read boolean properties rather than
> of_find_property(). This is part of a larger effort to remove callers
> of of_find_property() and similar functions. of_find_property() leaks
> the DT struct property and data pointers which is a problem for
> dynamically allocated nodes which may be freed.
>
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
Reviewed-by: MD Danish Anwar <danishanwar@...com>
--
Thanks and Regards,
Md Danish Anwar
Powered by blists - more mailing lists