diff options
| author | Varun Prakash <[email protected]> | 2021-04-14 12:39:09 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-05-15 02:28:17 +0000 |
| commit | 6ecdafaec79d4b3388a5b017245f23a0ff9d852d (patch) | |
| tree | 678f05852900680f6a5e5a19b3e1e7a92089be8f /drivers/scsi/scsi_debug.c | |
| parent | scsi: ufs: core: Introduce HBA performance monitor sysfs nodes (diff) | |
| download | kernel-6ecdafaec79d4b3388a5b017245f23a0ff9d852d.tar.gz kernel-6ecdafaec79d4b3388a5b017245f23a0ff9d852d.zip | |
scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
Instead of calling dma_unmap_sg() after completing WRITE I/O, call
dma_unmap_sg() before calling target_execute_cmd() to sync the DMA buffer.
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]> # 5.4+
Signed-off-by: Varun Prakash <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions
