diff options
author | Lu Baolu <[email protected]> | 2024-06-10 16:55:36 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-07-04 14:09:33 +0100 |
commit | 26a581606fab44ff76b394f0ba44cd19c6ec0a6e (patch) | |
tree | 4398d420c731888c3402cee0d6817b6582f69dcc /lib/test_fortify/write_overflow_field-memset.c | |
parent | a27bf2743cb80d3b36b5b43e8e2e702412c41668 (diff) |
iommufd: Use iommu_paging_domain_alloc()
If the iommu driver doesn't implement its domain_alloc_user callback,
iommufd_hwpt_paging_alloc() rolls back to allocate an iommu paging domain.
Replace iommu_domain_alloc() with iommu_user_domain_alloc() to pass the
device pointer along the path.
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow_field-memset.c')
0 files changed, 0 insertions, 0 deletions