[PATCH 3/3] 2

Chris Wilson chris at chris-wilson.co.uk
Sat Jan 16 12:21:26 UTC 2021


---
 drivers/iommu/iova.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c
index 84028a26f12b..05bb4183edf0 100644
--- a/drivers/iommu/iova.c
+++ b/drivers/iommu/iova.c
@@ -953,7 +953,7 @@ static bool iova_rcache_insert(struct iova_domain *iovad, unsigned long pfn,
 	if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE)
 		return false;
 
-	if (!is_power_of_two(size))
+	if (!is_power_of_2(size))
 		return false;
 
 	if (pfn & (size - 1))
-- 
2.20.1



More information about the Intel-gfx-trybot mailing list