diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2018-02-02 15:42:33 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-03-19 13:33:34 +0300 |
commit | 52749d601a6055da3352842575408fcba6f1da46 (patch) | |
tree | 883b3ead98a4bae0e37c2b1b3ade00d17cb95d2a /drivers/message | |
parent | 5abc7dd7b5a0f51a6c7d9cb3ce72b910ba3cef7b (diff) | |
download | linux-52749d601a6055da3352842575408fcba6f1da46.tar.xz |
drm/msm/dsi: Fix potential NULL pointer dereference in msm_dsi_modeset_init
_dev_ is being dereferenced before it is null checked, hence there
is a potential null pointer dereference.
Fix this by moving the pointer dereference after _dev_ has been
null checked.
Fixes: d4e7f38d70ef ("drm/msm/dsi: check msm_dsi and dsi pointers before use")
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions