[PATCH] perf: arm_pmu: Use of_property_present()

Will Deacon will at kernel.org
Fri Aug 16 08:15:59 PDT 2024


On Wed, 31 Jul 2024 13:12:53 -0600, Rob Herring (Arm) wrote:
> Use of_property_present() to test for property presence 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.
> 
> 
> [...]

Applied to will (for-next/perf), thanks!

[1/1] perf: arm_pmu: Use of_property_present()
      https://git.kernel.org/will/c/48b035121a56

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list