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

Skip to content
Commit eeeaaa77 authored by Carter Cooper's avatar Carter Cooper Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Properly check error codes when allocating ringbuffer space



Failure to allocate space can return error codes as well as NULL. Check
for both of these conditions when trying to allocate space for commands
in the ringbuffer.

Change-Id: Id1b025a2478ab9ee2c22959aeb2a5d83f54d943a
Signed-off-by: default avatarCarter Cooper <ccooper@codeaurora.org>
parent 402a576f
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