diff options
| author | Felix Kuehling <[email protected]> | 2022-04-06 20:58:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-07 20:37:39 +0000 |
| commit | 3cd3e731f34ff2f021165aeefd640acba9dd0993 (patch) | |
| tree | 27a800ef697ae52e3859dca607a555f0a608d5aa /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/display: cleanup extern usage in function definition (diff) | |
| download | kernel-3cd3e731f34ff2f021165aeefd640acba9dd0993.tar.gz kernel-3cd3e731f34ff2f021165aeefd640acba9dd0993.zip | |
drm/amdkfd: Fix NULL pointer dereference
Check that adev->gfx.ras is valid before using it.
Fixes: 6475ae2b742876 ("drm/amdgpu: add UTCL2 RAS poison query for Aldebaran (v2)")
CC: Tao Zhou <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Mukul Joshi <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
