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

Skip to content
Commit 6b3de203 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Avoid a possible NULL reference in kgsl_ioctl_helper



It is possible to dereference a NULL pointer through a series of
conditions in kgsl_ioctl_helper. Define the pointer at initialization
to ensure that the compiler does the right thing.

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