summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-06-28 01:45:39 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 00:37:14 +0300
commitd925c04d974c657d10471c0c2dba3bc9c7d994ee (patch)
tree834712581251e8c96c05ce952ed6504fdcff86aa /scripts/patch-kernel
parent1a03b0e6c5fdb476203be4f4597205ff8799369b (diff)
downloadlinux-d925c04d974c657d10471c0c2dba3bc9c7d994ee.tar.xz
drm/amd/display: Check link_res->hpo_dp_link_enc before using it
[WHAT & HOW] Functions dp_enable_link_phy and dp_disable_link_phy can pass link_res without initializing hpo_dp_link_enc and it is necessary to check for null before dereferencing. This fixes 1 FORWARD_NULL issue reported by Coverity. Fixes: 0beca868cde8 ("drm/amd/display: Check link_res->hpo_dp_link_enc before using it") Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions