]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97009ee288d3cfe9a915fc36fda31ae7f3ce750d
treeb2a240579dc8ddf20a65896e1bdd8802b2bdac3f
parentec73cdbabfdc060ecbecea869eb2badcffbd9bad
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