Merge "iommu: iommu-debug: Return an error value on invalid data format" into msm-4.8
diff --git a/drivers/iommu/iommu-debug.c b/drivers/iommu/iommu-debug.c
index 6562cb6..1ea8901 100644
--- a/drivers/iommu/iommu-debug.c
+++ b/drivers/iommu/iommu-debug.c
@@ -1798,7 +1798,7 @@
 
 invalid_format:
 	pr_err("Invalid format. Expected: iova,len\n");
-	return retval;
+	return -EINVAL;
 }
 
 static const struct file_operations iommu_debug_unmap_fops = {