diff options
author | Rob Herring (Arm) <[email protected]> | 2024-07-31 13:12:44 -0600 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-09-04 11:31:01 +0200 |
commit | 04f4f33c941c221645d2a58b46f4d698b0f5aa39 (patch) | |
tree | 9d91abf8b4105752bb506b4be9c62a5e6a2b1c84 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 84b2baf427968c1b2e3ae3b7afcb0118cdee0915 (diff) |
iommu: Use of_property_present()
Use of_property_present() to test for property presence rather than
of_(find|get)_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]>
Reviewed-by: Robin Murphy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions