summaryrefslogtreecommitdiff
path: root/Documentation/fb
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2022-11-10 14:47:52 +0100
committerMaxime Ripard <maxime@cerno.tech>2022-11-15 10:06:39 +0100
commit0a99962c0dbfa461ac5965c99cce1149ccfa17ed (patch)
treeb5848e31fef53763bbb42f5094febba65a84398d /Documentation/fb
parentd218750805a3a07d734a093355be286dc04278ba (diff)
drm/vc4: hdmi: Fix pointer dereference before check
Commit 6bed2ea3cb38 ("drm/vc4: hdmi: Reset link on hotplug") introduced the vc4_hdmi_reset_link() function. This function dereferences the "connector" pointer before checking whether it is NULL or not. Rework variable assignment to avoid this issue. Fixes: 6bed2ea3cb38 ("drm/vc4: hdmi: Reset link on hotplug") Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://lore.kernel.org/r/20221110134752.238820-3-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'Documentation/fb')
0 files changed, 0 insertions, 0 deletions