summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/df_v4_3.h
diff options
context:
space:
mode:
authorJesse Zhang <jesse.zhang@amd.com>2024-05-23 17:14:45 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-05-29 17:03:20 -0400
commita0cf36546cc24ae1c95d72253c7795d4d2fc77aa (patch)
tree6184a3b7cb76b0860e98d12b5ff2c78670eea1e3 /drivers/gpu/drm/amd/amdgpu/df_v4_3.h
parent05d9e24ddb15160164ba6e917a88c00907dc2434 (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 <Jesse.Zhang@amd.com> Suggested-by: Christian König <christian.koenig@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/df_v4_3.h')
0 files changed, 0 insertions, 0 deletions