scsi: pmcraid: don't allocate a dma coherent buffer for sense data
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:05:36 +0000 (15:05 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 02:31:29 +0000 (21:31 -0500)
commita9b9e3adc9a98ce59a8544d31da597807a473bd1
treeb2a240579dc8ddf20a65896e1bdd8802b2bdac3f
parent203654b42ff12782322558db5479057089248a28
scsi: pmcraid: don't allocate a dma coherent buffer for sense data

We can just dma map the sense buffer passed with the scsi command,
and that gets us out of the nasty business of doing dma coherent
allocations from irq context.

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