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

Commit 38cfdd73 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu/iommu-debug: Fix parsing of unmap size"

parents d3899213 009dda51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -716,7 +716,7 @@ static ssize_t iommu_debug_unmap_write(struct file *file,
	if (kstrtou64(buf, 0, &iova))
		goto invalid_format;

	if (kstrtoul(buf, 0, &size))
	if (kstrtoul(comma1 + 1, 0, &size))
		goto invalid_format;

	unmapped = iommu_unmap(ddev->domain, iova, size);