]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: lpfc: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:10:21 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 15 Nov 2018 19:27:08 +0000 (14:27 -0500)
commitf30e1bfd61541edfd6fa1622013978e6f9c47564
tree8812812291a3891f4440ca7f4529ef9253bbb176
parent52f603fee1a5f4bdc398837cc3eff1d3fd0e857d
scsi: lpfc: 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/lpfc/lpfc_init.c