diff options
author | Rob Herring (Arm) <[email protected]> | 2024-07-31 13:12:53 -0600 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-08-16 13:08:21 +0100 |
commit | 48b035121a564f2695462fbab0d2af51cb4f4b7a (patch) | |
tree | e99a838caf63d8eec1ed55ca062239975ea2436e /scripts/gdb/linux/lists.py | |
parent | 7c626ce4bae1ac14f60076d00eafe71af30450ba (diff) |
perf: arm_pmu: Use of_property_present()
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.
Signed-off-by: Rob Herring (Arm) <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions