diff options
author | Yang Wang <kevinyang.wang@amd.com> | 2024-08-21 14:42:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-23 10:53:45 -0400 |
commit | 4416377ae1fdc41a90b665943152ccd7ff61d3c5 (patch) | |
tree | bfd82a6d532df67b1c6e31c9799e9a65b3f1858a /tools/perf/scripts/python/gecko.py | |
parent | 2845f512232de9e436b9e3b5529e906e62414013 (diff) |
drm/amdgpu: add list empty check to avoid null pointer issue
Add list empty check to avoid null pointer issues in some corner cases.
- list_for_each_entry_safe()
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions