Skip to contentSkip to conversation

iommufd: Fix iommufd_hw_capabilities reference in kernel-doc

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 11 – Sep 24 Iommufd

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommufd: Fix iommufd_hw_capabilities reference in kernel-doc

The kernel-doc comment of struct iommu_hw_info refers to iommu_hw_capabilities, which does not exist. The name is iommufd_hw_capabilities. Say iommufd_hw_capabilities.

Fixes 7623683857e5 ("iommufd: Add capabilities to IOMMU_GET_HW_INFO")
Assisted-by LLM
---
 include/uapi/linux/iommufd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/iommufd.h +1 -1
index 206fa667c782813488bba2195155b4871b729005..bef6a2665c2b6f42149b5e001f38209764905207 100644
@@ -776,7 +776,7 @@ enum iommufd_hw_info_flags {
  * @out_data_type: Output the iommu hardware info type as defined in the enum
  *                 iommu_hw_info_type.
  * @out_capabilities: Output the generic iommu capability info type as defined
- *                    in the enum iommu_hw_capabilities.
+ *                    in the enum iommufd_hw_capabilities.
  * @out_max_pasid_log2: Output the width of PASIDs. 0 means no PASID support.
  *                      PCI devices turn to out_capabilities to check if the
  *                      specific capabilities is supported or not.
Signature · 1 line
2.39.5 (Apple Git-154)
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines

From: Karl Mehltretter <[email protected]>
Sent: Saturday, September 12, 2026 7:19 AM

The kernel-doc comment of struct iommu_hw_info refers to iommu_hw_capabilities, which does not exist. The name is iommufd_hw_capabilities. Say iommufd_hw_capabilities.

Fixes 7623683857e5 ("iommufd: Add capabilities to IOMMU_GET_HW_INFO")
Assisted-by LLM