diff options
| author | Rob Herring (Arm) <[email protected]> | 2024-07-31 19:12:44 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-09-04 09:31:01 +0000 |
| commit | 04f4f33c941c221645d2a58b46f4d698b0f5aa39 (patch) | |
| tree | 9d91abf8b4105752bb506b4be9c62a5e6a2b1c84 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | iommu/io-pgtable-arm: Optimise non-coherent unmap (diff) | |
| download | kernel-04f4f33c941c221645d2a58b46f4d698b0f5aa39.tar.gz kernel-04f4f33c941c221645d2a58b46f4d698b0f5aa39.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
