diff options
author | Thomas Hellström <[email protected]> | 2021-11-29 16:27:27 +0100 |
---|---|---|
committer | Thomas Hellström <[email protected]> | 2021-11-30 07:46:24 +0100 |
commit | 95d35838880fb040ccb9fe4a48816bd0c8b62df5 (patch) | |
tree | 96bbf4e9a8ac0e5a9bbbd430cc7a84bf3facbab9 /scripts/gdb/linux/tasks.py | |
parent | 3ccadbce8543dc4b2933509042b3d7e71ef05976 (diff) |
dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
If a dma_fence_array is reported signaled by a call to
dma_fence_is_signaled(), it may leak the PENDING_ERROR status.
Fix this by clearing the PENDING_ERROR status if we return true in
dma_fence_array_signaled().
v2:
- Update Cc list, and add R-b.
Fixes: 1f70b8b812f3 ("dma-fence: Propagate errors to dma-fence-array container")
Cc: Chris Wilson <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: Gustavo Padovan <[email protected]>
Cc: Christian König <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: <[email protected]> # v5.4+
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions