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

Skip to content
Commit 5856abaa authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Check the return value from ocmem_allocate for error



ocmem_allocate() will soon be changing to return an error code in
some situations. Use IS_ERR_OR_NULL() to avoid the embarrassment of
dereferencing the result of ERR_PTR() by mistake.

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