[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZCwQqzrg6EL7tgdM@ziepe.ca>
Date: Tue, 4 Apr 2023 08:57:31 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Tom Rix <trix@...hat.com>
Cc: kevin.tian@...el.com, joro@...tes.org, will@...nel.org,
robin.murphy@....com, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommufd/selftest: set varaiable mock_iommu_device
storage-class-specifier to static
On Mon, Apr 03, 2023 at 08:23:17PM -0400, Tom Rix wrote:
> smatch reports
> drivers/iommu/iommufd/selftest.c:295:21: warning: symbol
> 'mock_iommu_device' was not declared. Should it be static?
>
> This variable is only used in one file so it should be static.
> Signed-off-by: Tom Rix <trix@...hat.com>
> ---
> drivers/iommu/iommufd/selftest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, I applied this
Jason
Powered by blists - more mailing lists