diff options
author | Eric Huang <jinhuieric.huang@amd.com> | 2024-06-06 11:37:20 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-14 16:15:58 -0400 |
commit | 7bed1df814cd61029f56eecd322e23190d50d93b (patch) | |
tree | d175620531fb1d223217cc4be96a5c5842d7f79a /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 6218bd6b22d777ba02cde098f2f2f61a23262d96 (diff) |
drm/amdgpu: fix NULL pointer in amdgpu_reset_get_desc
amdgpu_job_ring may return NULL, which causes kernel NULL
pointer error, using another way to print ring name instead
of ring->name.
Suggested-by: Lijo Lazar <Lijo.Lazar@amd.com>
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions