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

Skip to content
Commit 1770bb98 authored by Narendra Muppalla's avatar Narendra Muppalla Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm: add pointer check before dereference



Add pointer check, print error message and return
error value in case the pointer is NULL. Also this change
uses connector iterator to go through the list of connectors
in the mode_config.

Change-Id: I9b776bfce771148606548a41cab6a695fc2adfa7
Signed-off-by: default avatarShubhashree Dhar <dhar@codeaurora.org>
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
parent 0db88144
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