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

Commit 2ab7606d authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Return -ENOEM on error from kgsl_iommu_svm_find_region



A undefined value is returned from kgsl_iommu_svm_find_region() when
a region isn't found which causes problems for the SVM engine
especially when the undefined value hapens to be 0.

Explicitly set the return value to -ENOMEM.

Change-Id: Ic0dedbadda1c541d937ebb0176de3d7bad589bfd
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent f164d35f
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