aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
diff options
context:
space:
mode:
authorJimmy Kizito <Jimmy.Kizito@amd.com>2021-09-12 11:21:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-09-23 15:17:31 -0400
commit60f39edd897ea134a4ddb789a6795681691c3183 (patch)
tree890a58d8b83178a8dd775921c6039ab1c4ca8278 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
parent39371f7d1396fa281eda67d0ede8221e5d8defe5 (diff)
drm/amd/display: Fix null pointer dereference for encoders
[Why] Links which are dynamically assigned link encoders have their link encoder set to NULL. [How] Check that a pointer to a link_encoder object is non-NULL before using it. Reviewed-by: Aric Cyr <aric.cyr@amd.com> Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions