Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b794026d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: iommu-debug: Fix input IOVA usage in atos_write()"

parents c3faeded 54ea4d34
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1521,7 +1521,7 @@ static ssize_t iommu_debug_atos_write(struct file *file,
		return -EINVAL;
	}

	phys = iommu_iova_to_phys(ddev->domain, ddev->iova);
	phys = iommu_iova_to_phys(ddev->domain, iova);
	pfn = __phys_to_pfn(phys);
	if (!pfn_valid(pfn)) {
		dev_err(ddev->dev, "Invalid ATOS operation page %pa\n", &phys);