diff options
author | Yang Wang <kevinyang.wang@amd.com> | 2024-08-21 09:42:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-23 17:53:45 +0300 |
commit | 4416377ae1fdc41a90b665943152ccd7ff61d3c5 (patch) | |
tree | bfd82a6d532df67b1c6e31c9799e9a65b3f1858a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2845f512232de9e436b9e3b5529e906e62414013 (diff) | |
download | linux-4416377ae1fdc41a90b665943152ccd7ff61d3c5.tar.xz |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions