diff options
author | Jesse Zhang <[email protected]> | 2024-05-23 17:14:45 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-05-29 17:03:20 -0400 |
commit | a0cf36546cc24ae1c95d72253c7795d4d2fc77aa (patch) | |
tree | 6184a3b7cb76b0860e98d12b5ff2c78670eea1e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | 05d9e24ddb15160164ba6e917a88c00907dc2434 (diff) |
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_sched.c')
0 files changed, 0 insertions, 0 deletions