diff options
| author | Jesse Zhang <jesse.zhang@amd.com> | 2024-05-23 12:14:45 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-30 00:03:20 +0300 |
| commit | a0cf36546cc24ae1c95d72253c7795d4d2fc77aa (patch) | |
| tree | 6184a3b7cb76b0860e98d12b5ff2c78670eea1e3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 05d9e24ddb15160164ba6e917a88c00907dc2434 (diff) | |
| download | linux-a0cf36546cc24ae1c95d72253c7795d4d2fc77aa.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/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions
