diff options
| author | Christoph Hellwig <hch@lst.de> | 2018-10-11 09:15:35 +0200 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-15 22:39:23 -0400 |
| commit | 67d98f0a83f8d5eafe8f584fef70b1d790a36411 (patch) | |
| tree | ccd44aef32873c0d3ac239ef9c57ba7c97edb0d4 /scripts/gdb/linux/proc.py | |
| parent | ca2ade24157693b4e533ccec69df00ef719d4aad (diff) | |
scsi: megaraid_mbox: remove bogus use of pci_dma_sync_sg_* APIs
The dma_map_sg / dma_unmap_sg APIs called from scsi_dma_map /
scsi_dma_unmap already transfer memory ownership to the device or cpu
respectively. Adding additional calls to pci_dma_sync_sg_* will in fact
lead to data corruption if we end up using swiotlb for some reason.
Also remove the now pointless megaraid_mbox_sync_scb function.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
