lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20221109024729.3957-1-yang.lee@linux.alibaba.com>
Date:   Wed,  9 Nov 2022 10:47:29 +0800
From:   Yang Li <yang.lee@...ux.alibaba.com>
To:     joro@...tes.org
Cc:     will@...nel.org, robin.murphy@....com, iommu@...ts.linux.dev,
        linux-kernel@...r.kernel.org, Yang Li <yang.lee@...ux.alibaba.com>,
        Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] iommu: Fix some kernel-doc comments

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@...ux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
 drivers/iommu/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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().
  */
-- 
2.20.1.7.g153144c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ