summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJesse Zhang <jesse.zhang@amd.com>2024-05-23 12:14:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-05-29 21:09:41 +0300
commit511a623fb46a6cf578c61d4f2755783c48807c77 (patch)
tree7f67a617033132fe604f4d4c2e8a21f09c038d9c /tools/perf/scripts/python/mem-phys-addr.py
parentab47fa8358f73c25543e6bcfe98fa952c151666e (diff)
downloadlinux-511a623fb46a6cf578c61d4f2755783c48807c77.tar.xz
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 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions