]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: ensure the connector is not null before using it
authorTim Huang <tim.huang@amd.com>
Wed, 7 Aug 2024 09:33:42 +0000 (17:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2024 14:04:57 +0000 (10:04 -0400)
commit0da531c82a0fcac65407d28ecdb2a1e19c833df5
tree9b86cf2b19f5bb9668c6d339784b77718cc27284
parent52755373ea6197dac40b9804ce967611b5e989bf
drm/amdgpu: ensure the connector is not null before using it

This resolves the dereference null return value warning
reported by Coverity.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c