Re: [PATCH] iommu: Fix some W=1 warnings

2022-01-31 Thread Joerg Roedel
On Fri, Jan 28, 2022 at 06:44:33PM +0800, John Garry wrote: > 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 >

Re: [PATCH] iommu: Fix some W=1 warnings

2022-01-28 Thread Robin Murphy
On 2022-01-28 10:44, John Garry wrote: 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

[PATCH] iommu: Fix some W=1 warnings

2022-01-28 Thread John Garry via iommu
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