summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2022-04-06 16:58:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-04-07 16:37:39 -0400
commit3cd3e731f34ff2f021165aeefd640acba9dd0993 (patch)
tree27a800ef697ae52e3859dca607a555f0a608d5aa /drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
parentdac1655cb2a92e6ba13f37dee1a56cb8a7d7f753 (diff)
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 <tao.zhou1@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c')
0 files changed, 0 insertions, 0 deletions