diff options
author | Damien Le Moal <[email protected]> | 2023-04-15 11:35:28 +0900 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-06-23 15:00:01 -0500 |
commit | 4aca56f8eae8aa44867ddd6aa107e06f7613226f (patch) | |
tree | 06dfd271e278e5b48938fc298fba8b97fca3900d /lib/test_fortify/write_overflow-strcpy.c | |
parent | f6ec33979e9ae7fcc2b5582bd3bfdfaa1fc98a78 (diff) |
PCI: epf-test: Fix DMA transfer completion initialization
Reinitialize the transfer_complete DMA transfer completion before calling
tx_submit(), to avoid seeing the DMA transfer complete before the
completion is initialized, thus potentially losing the completion
notification.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 8353813c88ef ("PCI: endpoint: Enable DMA tests for endpoints with DMA capabilities")
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions