Skip to contentSkip to conversation

Documentation: userspace-api: iommufd: Fix the struct iommu_hwpt_alloc name

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 5 – Sep 7

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
---
 Documentation/userspace-api/iommufd.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/userspace-api/iommufd.rst +1 -1
index f1c4d21e5c5e..763b23339480 100644
@@ -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
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Karl Mehltretter

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

thanks.

Quoted 17 lines
---
 Documentation/userspace-api/iommufd.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/userspace-api/iommufd.rst +1 -1
index f1c4d21e5c5e..763b23339480 100644
@@ -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
maintainer Applied
#2 lore raw
In reply to Karl Mehltretter
Quoted 17 lines · Karl Mehltretter

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
---
 Documentation/userspace-api/iommufd.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/userspace-api/iommufd.rst +0 -0
index f1c4d21e5c5e..763b23339480 100644

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