kernel_samsung_a53x/drivers/gpu/drm/amd
Alex Hung 61ab6d9aa6 drm/amd/display: Check null pointer before dereferencing se
[ Upstream commit ff599ef6970ee000fa5bc38d02fa5ff5f3fc7575 ]

[WHAT & HOW]
se is null checked previously in the same function, indicating
it might be null; therefore, it must be checked when used again.

This fixes 1 FORWARD_NULL issue reported by Coverity.

Acked-by: Alex Hung <alex.hung@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:50 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: enable gfxoff quirk on HP 705G4 2024-11-23 23:21:40 +01:00
amdkfd drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device 2024-11-23 23:20:57 +01:00
display drm/amd/display: Check null pointer before dereferencing se 2024-11-23 23:21:50 +01:00
include drm/amdgpu: Replace one-element array with flexible-array member 2024-11-23 23:21:21 +01:00
pm drm/amd/pm: ensure the fw_info is not null before using it 2024-11-23 23:21:41 +01:00