]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitab8e7f4bdfeac57074c8a8a9ca12bcd101fdf1ca
tree2073c15736c14417b17a50d10af8ea31688733fe
parent1c2048bdc3f4ff3337613c27519cf608916e95a9
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