Thread (2 messages) flat view 2 messages, 2 authors, 1d ago
WARM1d

[PATCH] Documentation: userspace-api: iommufd: Fix the struct iommu_hwpt_alloc name

From: Karl Mehltretter <hidden>
Date: 2026-09-05 10:38:25
Also in: linux-iommu
Subsystem: documentation, iommufd, the rest · Maintainers: Jonathan Corbet, Jason Gunthorpe, Kevin Tian, Linus Torvalds

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 <redacted>
---
 Documentation/userspace-api/iommufd.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/userspace-api/iommufd.rst b/Documentation/userspace-api/iommufd.rst
index f1c4d21e5c5e..763b23339480 100644
--- a/Documentation/userspace-api/iommufd.rst
+++ b/Documentation/userspace-api/iommufd.rst
@@ -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)
-- 
2.53.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help