Skip to content
Snippets Groups Projects
Commit 7e0acec0 authored by Felix Kuehling's avatar Felix Kuehling Committed by Kent Russell
Browse files

drm/amdkfd: Fix NULL pointer dereference


Check that adev->gfx.ras is valid before using it.

Fixes: f385fc0d ("drm/amdgpu: add UTCL2 RAS poison query for Aldebaran (v2)")
CC: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: default avatarMukul Joshi <mukul.joshi@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
parent 7070932e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment