Documentation: userspace-api: iommufd: Fix the struct iommu_hwpt_alloc name
Subsystems (2)
PATCH 1/1 Documentation: userspace-api: iommufd: Fix the struct iommu_hwpt_alloc name
struct iommufd_hwpt_alloc does not exist; the name is struct iommu_hwpt_alloc.
Use struct iommu_hwpt_alloc.
Fixes e2d8fe9148b7 ("Documentation: userspace-api: iommufd: Update HWPT_PAGING and HWPT_NESTED")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
--- Documentation/userspace-api/iommufd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/userspace-api/iommufd.rst +1 -1
@@ -242,7 +242,7 @@ creating the objects and links:: Either a manual IOMMUFD_OBJ_HWPT_PAGING or an IOMMUFD_OBJ_HWPT_NESTED is created via the same IOMMU_HWPT_ALLOC uAPI. The difference is at the type - of the object passed in via the @pt_id field of struct iommufd_hwpt_alloc. + of the object passed in via the @pt_id field of struct iommu_hwpt_alloc. 5. IOMMUFD_OBJ_VIOMMU can be only manually created via the IOMMU_VIOMMU_ALLOC uAPI, provided a dev_id (for the device's physical IOMMU to back the vIOMMU)
Signature · 1 line
2.53.0
Quoted 8 lines · Karl Mehltretter
struct
iommufd_hwpt_allocdoes not exist; the name is structiommu_hwpt_alloc.Use struct
iommu_hwpt_alloc.Fixes e2d8fe9148b7 ("Documentation: userspace-api: iommufd: Update HWPT_PAGING and HWPT_NESTED")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Acked-by Randy Dunlap <[email protected]>
thanks.
Quoted 17 lines
--- Documentation/userspace-api/iommufd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/userspace-api/iommufd.rst +1
-1@@ -242,7 +242,7 @@ creating the objects and links:: Either a manual IOMMUFD_OBJ_HWPT_PAGING or an IOMMUFD_OBJ_HWPT_NESTED is created via the same IOMMU_HWPT_ALLOC uAPI. The difference is at the type - of the object passed in via the @pt_id field of struct iommufd_hwpt_alloc. + of the object passed in via the @pt_id field of struct iommu_hwpt_alloc. 5. IOMMUFD_OBJ_VIOMMU can be only manually created via the IOMMU_VIOMMU_ALLOC uAPI, provided a dev_id (for the device's physical IOMMU to back the vIOMMU)
Signature · 1 line
~Randy
Quoted 17 lines · Karl Mehltretter
struct
iommufd_hwpt_allocdoes not exist; the name is structiommu_hwpt_alloc.Use struct
iommu_hwpt_alloc.Fixes e2d8fe9148b7 ("Documentation: userspace-api: iommufd: Update HWPT_PAGING and HWPT_NESTED")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>--- Documentation/userspace-api/iommufd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/userspace-api/iommufd.rst +0
-0
Documentation/userspace-api/iommufd.rst creating the objects and links:: · line 245
Quoted 5 lines
Documentation/userspace-api/iommufd.rst +1
-1@@ -242,7 +242,7 @@ creating the objects and links:: Either a manual IOMMUFD_OBJ_HWPT_PAGING or an IOMMUFD_OBJ_HWPT_NESTED is created via the same IOMMU_HWPT_ALLOC uAPI. The difference is at the type - of the object passed in via the @pt_id field of struct iommufd_hwpt_alloc. + of the object passed in via the @pt_id field of struct iommu_hwpt_alloc.
Applied, thanks.
jon