diff options
author | Yang Wang <[email protected]> | 2024-08-21 14:42:41 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-08-23 10:53:45 -0400 |
commit | 4416377ae1fdc41a90b665943152ccd7ff61d3c5 (patch) | |
tree | bfd82a6d532df67b1c6e31c9799e9a65b3f1858a /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
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 <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
0 files changed, 0 insertions, 0 deletions