OSDN Git Service

iommu: Fix some W=1 warnings
authorJohn Garry <john.garry@huawei.com>
Fri, 28 Jan 2022 10:44:33 +0000 (18:44 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 31 Jan 2022 15:49:54 +0000 (16:49 +0100)
commit30209b93177a75843673de92771716c941c20ef5
tree8ecad161c77bd18c257166c22891b2e209654361
parentb54240ad494300ff0994c4539a531727874381f4
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>
drivers/iommu/ioasid.c
drivers/iommu/iommu.c
drivers/iommu/omap-iommu.c