[-next] iommu: Fix some kernel-doc comments

Message ID 20221109024729.3957-1-yang.lee@linux.alibaba.com
State New
Headers
Series [-next] iommu: Fix some kernel-doc comments |

Commit Message

Yang Li Nov. 9, 2022, 2:47 a.m. UTC
  Make the description of @group to @dev in iommu_device_release_dma_owner()
to clear the below warnings:

drivers/iommu/iommu.c:3235: warning: Function parameter or member 'dev' not described in 'iommu_device_release_dma_owner'
drivers/iommu/iommu.c:3235: warning: Excess function parameter 'group' description in 'iommu_device_release_dma_owner'

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2820
Fixes: 506c4809b2d3 ("iommu: Add device-centric DMA ownership interfaces")
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/iommu/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 4cb14e44e40f..d299fef4fd81 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -3227,7 +3227,7 @@  EXPORT_SYMBOL_GPL(iommu_group_release_dma_owner);
 
 /**
  * iommu_device_release_dma_owner() - Release DMA ownership of a device
- * @group: The device.
+ * @dev: get the group that this device belongs to
  *
  * Release the DMA ownership claimed by iommu_device_claim_dma_owner().
  */