iommufd: Fix iommufd_hw_capabilities reference in kernel-doc
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
Signed-off-by Karl Mehltretter <[email protected]>
--- include/uapi/linux/iommufd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/iommufd.h +1 -1
@@ -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)
Quoted 10 lines
From: Karl Mehltretter <[email protected]>
Sent: Saturday, September 12, 2026 7:19 AMThe kernel-doc comment of struct
iommu_hw_inforefers toiommu_hw_capabilities, which does not exist. The name isiommufd_hw_capabilities. Sayiommufd_hw_capabilities.Fixes 7623683857e5 ("iommufd: Add capabilities to IOMMU_GET_HW_INFO")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Reviewed-by Kevin Tian <[email protected]>
Quoted 1 line · Karl Mehltretter
iommufd: Fix
iommufd_hw_capabilitiesreference in kernel-doc
Applied, thanks!
[1/1] iommufd: Fix iommufd_hw_capabilities reference in kernel-doc
https://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git/commit/?id=54dadb030c7e2350957855d3995de05ae02c2e66
Best regards,
Signature · 1 line
Jason