drm/msm: Add pointer check before dereference
Add pointer check, print error message and return
error value in case the pointer is NULL.
Change-Id: I9b776bfce771148606548a41cab6a695fc2adfa7
Signed-off-by:
Shubhashree Dhar <dhar@codeaurora.org>
Loading
Please register or sign in to comment