diff options
author | Daniel Scally <[email protected]> | 2024-01-18 11:29:59 +0000 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-01-22 16:04:13 +0530 |
commit | 4728e3fe2ff1b02b84ddab876d8af5eeb74eee18 (patch) | |
tree | 77a3799aa593b4412cf6307d27412789845a18eb /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
dmaengine: pl330: Clear callback_result for re-used descs
The pl330 driver re-uses DMA descriptors rather than reallocating
them each time. At present, upon re-use the .callback member is
cleared, but .callback result is not. This causes problems where a
consuming driver sets the .callback_result for some submissions but
not for others, as eventually the function is invoked erronously.
Clear .callback_result along with .callback
Signed-off-by: Daniel Scally <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions