]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: stex: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:10:23 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 15 Nov 2018 19:27:08 +0000 (14:27 -0500)
commitb5a4ad1db5fd6d1093e415e1949421d65c4a44a0
treeceef1cfbe080f806faf99eda4b53044afa90f80e
parentbddbd00cb076b1bcd0df19e620ebb79108ae7e58
scsi: stex: use dma_set_mask_and_coherent

The driver currently uses pci_set_dma_mask despite otherwise using the
generic DMA API.  Switch it over to the better generic DMA API.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/stex.c