aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-07-18 09:25:21 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-08-04 14:40:39 -0400
commit582bf7c5158dce16f7dc5b8345b7876bd8031224 (patch)
tree4b693f0b778c9b89d29f80f6e2e4032ac3c64372 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amd/display: Promote DC to 3.2.344 (diff)
downloadlinux-582bf7c5158dce16f7dc5b8345b7876bd8031224.tar.gz
linux-582bf7c5158dce16f7dc5b8345b7876bd8031224.zip
drm/amdgpu: Add NULL check for asic_funcs
If driver load fails too early, asic_funcs pointer remains unassigned. Add NULL check to sanitize unwind path. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions