summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-07-18 06:55:21 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-08-04 21:40:39 +0300
commit582bf7c5158dce16f7dc5b8345b7876bd8031224 (patch)
tree4b693f0b778c9b89d29f80f6e2e4032ac3c64372 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent712d98c7da689447596e388b4fb05ec4fa74d70c (diff)
downloadlinux-582bf7c5158dce16f7dc5b8345b7876bd8031224.tar.xz
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