Re: [PATCH -next 3/8] iommufd/selftest: Make dirty_ops static
From: Jason Gunthorpe
Date: Mon Aug 19 2024 - 08:29:35 EST
On Mon, Aug 19, 2024 at 08:00:07PM +0800, Jinjie Ruan wrote:
> The sparse tool complains as follows:
>
> drivers/iommu/iommufd/selftest.c:277:30: warning:
> symbol 'dirty_ops' was not declared. Should it be static?
>
> This symbol is not used outside of selftest.c, so marks it static.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>
> ---
> drivers/iommu/iommufd/selftest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I picked this up for iommufd
Thanks,
Jason