[PATCH] powerpc: Use of_property_present()
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Aug 12 22:01:04 AEST 2024
On Wed, 31 Jul 2024 13:12:47 -0600, Rob Herring (Arm) wrote:
> Use of_property_present() to test for property presence rather than
> of_get_property(). 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.
>
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Use of_property_present()
https://git.kernel.org/powerpc/c/8a93960abed960b9f6097b6471b7fb34120ffc6a
cheers
More information about the Linuxppc-dev
mailing list