diff options
| author | Jesse Zhang <[email protected]> | 2024-05-23 09:14:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-29 18:09:41 +0000 |
| commit | 511a623fb46a6cf578c61d4f2755783c48807c77 (patch) | |
| tree | 7f67a617033132fe604f4d4c2e8a21f09c038d9c /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amd/amdgpu: add AMD_PG_SUPPORT_VCN_DPG flag (diff) | |
| download | kernel-511a623fb46a6cf578c61d4f2755783c48807c77.tar.gz kernel-511a623fb46a6cf578c61d4f2755783c48807c77.zip | |
drm/amdgpu: fix dereference null return value for the function amdgpu_vm_pt_parent
The pointer parent may be NULLed by the function amdgpu_vm_pt_parent.
To make the code more robust, check the pointer parent.
Signed-off-by: Jesse Zhang <[email protected]>
Suggested-by: Christian König <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
