[PATCH net-next] net: Use of_property_read_bool()
Anwar, Md Danish
a0501179 at ti.com
Thu Aug 1 00:09:51 PDT 2024
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 at kernel.org>
Reviewed-by: MD Danish Anwar <danishanwar at ti.com>
--
Thanks and Regards,
Md Danish Anwar
More information about the linux-arm-kernel
mailing list