]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mvumi: switch to generic DMA API
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Oct 2018 17:53:14 +0000 (19:53 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 18 Oct 2018 01:58:52 +0000 (21:58 -0400)
commitc648c5e010a75ad221d47cc8306cd58a4cfd62d7
tree2073c15736c14417b17a50d10af8ea31688733fe
parent2a6bca39ec6cbb84f9c80a0ec1eec4eee48dfa2d
scsi: mvumi: switch to generic DMA API

Switch from the legacy PCI DMA API to the generic DMA API.

Also reuse an existing helper (after fixing the error return) to set the
DMA mask instead of having three copies of the code.

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>
drivers/scsi/mvumi.c