diff options
author | 2024-08-21 14:42:41 +0800 | |
---|---|---|
committer | 2024-08-23 10:53:45 -0400 | |
commit | 4416377ae1fdc41a90b665943152ccd7ff61d3c5 (patch) | |
tree | bfd82a6d532df67b1c6e31c9799e9a65b3f1858a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/amd/display: Make dcn401_dsc_funcs static (diff) | |
download | wireguard-linux-4416377ae1fdc41a90b665943152ccd7ff61d3c5.tar.xz wireguard-linux-4416377ae1fdc41a90b665943152ccd7ff61d3c5.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions