diff options
author | Rob Clark <robdclark@chromium.org> | 2022-10-13 15:55:15 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-10-14 09:33:12 -0700 |
commit | ec4fbd791519423726ce9fd5130de9a95365c8eb (patch) | |
tree | 238124a21f40f721eb351227875364b59e6c9c8c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | fab384c496a313a1083554fb1eb2332a6756be2e (diff) | |
download | linux-ec4fbd791519423726ce9fd5130de9a95365c8eb.tar.gz linux-ec4fbd791519423726ce9fd5130de9a95365c8eb.tar.bz2 linux-ec4fbd791519423726ce9fd5130de9a95365c8eb.zip |
drm/msm/a6xx: Remove state objects from list before freeing
Technically it worked as it was before, only because it was using the
_safe version of the iterator. But it is sloppy practice to leave
dangling pointers.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/507017/
Link: https://lore.kernel.org/r/20221013225520.371226-4-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions