Skip to content
Snippets Groups Projects
Commit 1ae9ac77 authored by Lyude Paul's avatar Lyude Paul
Browse files

drm/nouveau: Stop reading port->mgr in n50_mstc_get_modes()


mstc->port isn't validated here so it could be null or worse when we
access it. And drivers aren't ever supposed to be looking at it's
contents anyway. Plus, we can already get the MST manager from
&mstc->mstm->mgr.

Signed-off-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
Cc: stable@vger.kernel.org
parent 06075b56
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment