Reported-by: kernel test robot <lkp@xxxxxxxxx> Signed-off-by: kernel test robot <lkp@xxxxxxxxx> --- vfio_iommu_type1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c index cc9b61d8b57bab..697e661f8295f8 100644 --- a/drivers/vfio/vfio_iommu_type1.c +++ b/drivers/vfio/vfio_iommu_type1.c @@ -500,7 +500,7 @@ static bool vfio_iommu_contained(struct vfio_iommu *iommu) } -bool vfio_vaddr_valid(struct vfio_iommu *iommu, struct vfio_dma *dma) +static bool vfio_vaddr_valid(struct vfio_iommu *iommu, struct vfio_dma *dma) { while (dma->suspended) { mutex_unlock(&iommu->lock);