mirror-linux/drivers/gpu/drm/amd/display/modules
Alex Hung 803a4cb8e3 drm/amd/display: Check NULL before accessing a variable
[WHAT]
Check NULL before accessing link, not after.

This is reported as a REVERSE_INULL error by Coverity.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-01-20 17:19:34 -05:00
..
color drm/amd/display: Remove unused regamma functions 2024-11-04 11:25:50 -05:00
freesync drm/amd/display: Allow VRR params change if unsynced with the stream 2025-11-11 21:54:15 -05:00
hdcp drm/amd/display: Refactor HDCP Status Log Format 2025-11-11 21:54:16 -05:00
inc drm/amd/display: Revise VSC SDP header for Panel Replay 2025-12-08 13:56:36 -05:00
info_packet drm/amd/display: Revise VSC SDP header for Panel Replay 2025-12-08 13:56:36 -05:00
power drm/amd/display: Check NULL before accessing a variable 2026-01-20 17:19:34 -05:00
vmid