[PATCH] iommufd: Fix iommufd_hw_capabilities reference in kernel-doc

Karl Mehltretter posted 1 patch 1 week, 6 days ago
include/uapi/linux/iommufd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] iommufd: Fix iommufd_hw_capabilities reference in kernel-doc
Posted by Karl Mehltretter 1 week, 6 days ago
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 <kmehltretter@gmail.com>
---
 include/uapi/linux/iommufd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/iommufd.h b/include/uapi/linux/iommufd.h
index 206fa667c782813488bba2195155b4871b729005..bef6a2665c2b6f42149b5e001f38209764905207 100644
--- a/include/uapi/linux/iommufd.h
+++ b/include/uapi/linux/iommufd.h
@@ -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.
-- 
2.39.5 (Apple Git-154)
Re: [PATCH] iommufd: Fix iommufd_hw_capabilities reference in kernel-doc
Posted by Jason Gunthorpe 23 hours ago
On Sat, 12 Sep 2026 01:18:50 +0200, Karl Mehltretter wrote:
> iommufd: Fix iommufd_hw_capabilities reference 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,
-- 
Jason
RE: [PATCH] iommufd: Fix iommufd_hw_capabilities reference in kernel-doc
Posted by Tian, Kevin 1 week, 2 days ago
> From: Karl Mehltretter <kmehltretter@gmail.com>
> 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
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>

Reviewed-by: Kevin Tian <kevin.tian@intel.com>