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

Skip to content
Commit 29d05c1d authored by Laura Abbott's avatar Laura Abbott
Browse files

iommu: msm_iommu: Return proper value from unmap_range



unmap_range should return an error code, not just zero.
Technially the return code should be the number of bytes
unmapped but certain kernel clients spew errors because
of incorrect error handling. Until that can be filed,
return negative error codes to indicate an error.

Change-Id: Iae0b561c99edc216d3d484107be5938f3775e11d
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 156aa1e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment