[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200110181052.4k2zckkmebgtt64w@f53c9c00458a>
Date: Sat, 11 Jan 2020 02:10:52 +0800
From: kbuild test robot <lkp@...el.com>
To: weiqi <weiqi4@...wei.com>
Cc: kbuild-all@...ts.01.org, alexander.h.duyck@...ux.intel.com,
alex.williamson@...hat.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, pbonzini@...hat.com, x86@...nel.org,
wei qi <weiqi4@...wei.com>
Subject: [RFC PATCH] vfio: vfio_iommu_iova_to_phys() can be static
Fixes: 3b764b3397df ("vfio: add mmap/munmap API for page hinting")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
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 3939f9573f74f..f25c107e2c709 100644
--- a/drivers/vfio/vfio_iommu_type1.c
+++ b/drivers/vfio/vfio_iommu_type1.c
@@ -1272,7 +1272,7 @@ static int vfio_iommu_type1_mmap_pages(void *iommu_data,
return ret;
}
-u64 vfio_iommu_iova_to_phys(struct vfio_iommu *iommu, dma_addr_t iova)
+static u64 vfio_iommu_iova_to_phys(struct vfio_iommu *iommu, dma_addr_t iova)
{
struct vfio_domain *d;
u64 phys;
Powered by blists - more mailing lists