summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/ioasid.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2022-01-28 18:44:33 +0800
committerJoerg Roedel <jroedel@suse.de>2022-01-31 16:49:54 +0100
commit30209b93177a75843673de92771716c941c20ef5 (patch)
tree8ecad161c77bd18c257166c22891b2e209654361 /drivers/iommu/ioasid.c
parentb54240ad494300ff0994c4539a531727874381f4 (diff)
downloadlinux-30209b93177a75843673de92771716c941c20ef5.tar.bz2
iommu: Fix some W=1 warnings
The code is mostly free of W=1 warning, so fix the following: drivers/iommu/iommu.c:996: warning: expecting prototype for iommu_group_for_each_dev(). Prototype was for __iommu_group_for_each_dev() instead drivers/iommu/iommu.c:3048: warning: Function parameter or member 'drvdata' not described in 'iommu_sva_bind_device' drivers/iommu/ioasid.c:354: warning: Function parameter or member 'ioasid' not described in 'ioasid_get' drivers/iommu/omap-iommu.c:1098: warning: expecting prototype for omap_iommu_suspend_prepare(). Prototype was for omap_iommu_prepare() instead Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/1643366673-26803-1-git-send-email-john.garry@huawei.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/ioasid.c')
-rw-r--r--drivers/iommu/ioasid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/ioasid.c b/drivers/iommu/ioasid.c
index 50ee27bbd04e..06fee7416816 100644
--- a/drivers/iommu/ioasid.c
+++ b/drivers/iommu/ioasid.c
@@ -349,6 +349,7 @@ EXPORT_SYMBOL_GPL(ioasid_alloc);
/**
* ioasid_get - obtain a reference to the IOASID
+ * @ioasid: the ID to get
*/
void ioasid_get(ioasid_t ioasid)
{