summaryrefslogtreecommitdiff
path: root/net/tls
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-11 10:15:35 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-16 05:39:23 +0300
commit67d98f0a83f8d5eafe8f584fef70b1d790a36411 (patch)
treeccd44aef32873c0d3ac239ef9c57ba7c97edb0d4 /net/tls
parentca2ade24157693b4e533ccec69df00ef719d4aad (diff)
downloadlinux-67d98f0a83f8d5eafe8f584fef70b1d790a36411.tar.xz
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 'net/tls')
0 files changed, 0 insertions, 0 deletions