]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add null checker before passing variables
authorAlex Hung <alex.hung@amd.com>
Tue, 4 Jun 2024 22:33:18 +0000 (16:33 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:18:55 +0000 (16:18 -0400)
commit8092aa3ab8f7b737a34b71f91492c676a843043a
tree0dc9341b9e0e02fbcfaa1a5a5fe123388571c829
parent143818fae047fdda55d06651e4d7ab9dc7afe669
drm/amd/display: Add null checker before passing variables

Checks null pointer before passing variables to functions.

This fixes 3 NULL_RETURNS issues reported by Coverity.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c