diff options
author | Rodrigo Vivi <[email protected]> | 2017-08-10 07:50:43 -0700 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2017-08-10 13:59:26 -0700 |
commit | 06bfe5b0d892f8120172380694eb66eeb23baf90 (patch) | |
tree | be99d43eaf087afa2d12fd901aecf5faa0944aa4 /lib/mpi/mpi-bit.c | |
parent | 28b6cb08206fe19585f57c3f5c683aff9b2e2fdf (diff) |
drm/i915: Avoid null dereference if mst_port is unset.
I'm not sure if this is really the case and I don't believe
this is the real fix for the bug mentioned here, but since
I don't see a reliable path when mst_port is set and when
mode_valid is requested I believe it is worth to have this
protection here.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102022
Cc: Elizabeth <[email protected]>
Cc: Stefan Assmann <[email protected]>
Cc: Dhinakaran Pandiyan <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions