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

Skip to content
Commit fc00721e authored by Sravankumar bijili's avatar Sravankumar bijili
Browse files

msm: kgsl: Fix NULL pointer dereference of of_match_device()



There is a posibility that of_match_device() can return NULL
and can be dereferenced. To avoid this, a safety check is added
in adreno_probe() and adreno_remove().

Change-Id: I7fb68db3cd4f898d87d07f2434fb7c9ce2f4e7e5
Signed-off-by: default avatarSravankumar bijili <csbijil@codeaurora.org>
parent 8ca6d749
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