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

Commit ec6cd7d5 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

msm: kgsl: Fix context initialization sequence



Re-order the preemption context initialization in order to
avoid NULL pointer dereference if preemption_context_init
fails. Also, correctly handle the failure by removing
the put/kfree as the context will be destroyed in the detach
sequence itself.

Change-Id: Ic8b373da040d39bc412ed54a21f067bd51685f6a
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent a8118139
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