commit | 19e3eb937c000911501224457e13a85b0e92dc88 | [log] [tgz] |
---|---|---|
author | Kyle Yan <kyan@quicinc.com> | Mon Nov 07 10:43:00 2016 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Nov 07 10:43:00 2016 -0800 |
tree | ae529e95f8c8f6fda859dcfe3367df3b25fe9b3f | |
parent | 5db5fe250765f4fd6ea048bd1d8d889d9b8fd232 [diff] | |
parent | 5a5e3ff6fe24a798d5555bb9035991d67dda798a [diff] |
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 = {