[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200722141453.GL27672@8bytes.org>
Date: Wed, 22 Jul 2020 16:14:53 +0200
From: Joerg Roedel <joro@...tes.org>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Hulk Robot <hulkci@...wei.com>, Eric Auger <eric.auger@...hat.com>,
Tom Murphy <murphyt7@....ie>, iommu@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] iommu: Make some functions static
On Mon, Jul 13, 2020 at 10:25:42PM +0800, Wei Yongjun wrote:
> The sparse tool complains as follows:
>
> drivers/iommu/iommu.c:386:5: warning:
> symbol 'iommu_insert_resv_region' was not declared. Should it be static?
> drivers/iommu/iommu.c:2182:5: warning:
> symbol '__iommu_map' was not declared. Should it be static?
>
> Those functions are not used outside of iommu.c, so mark them static.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
> ---
> drivers/iommu/iommu.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
Powered by blists - more mailing lists