]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: aic94xx: fix calls to dma_set_mask_and_coherent()
authorHannes Reinecke <hare@suse.de>
Mon, 18 Feb 2019 07:34:22 +0000 (08:34 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Feb 2019 02:37:26 +0000 (21:37 -0500)
commit99a6395dca6d2714a1e4dcb47d8b009962e9c32a
tree685766df9b1c346722ee23cef742db372e8920e3
parent5bd903e371b86dd28844296495c5facca66ed117
scsi: aic94xx: fix calls to dma_set_mask_and_coherent()

The change to use dma_set_mask_and_coherent() incorrectly made a second
call with the 32 bit DMA mask value when the call with the 64 bit DMA mask
value succeeded.

[mkp: fixed subject]

Fixes: 59652c8a7ccb ("scsi: aic94xx: fully convert to the generic DMA API")
Cc: <stable@vger.kernel.org>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic94xx/aic94xx_init.c