]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: dc395x: fix DMA API usage in sg_update_list
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Oct 2018 14:17:15 +0000 (16:17 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 18 Oct 2018 01:34:20 +0000 (21:34 -0400)
commit874564893e142833fb1e2730f13c9b08d82aa8fb
treeb9cc3f231ce5fe0167b39e1007f4f8af4a23754b
parent000c7d6b4a58879c4c84cbda2b2ad94fa1a25b66
scsi: dc395x: fix DMA API usage in sg_update_list

We need to transfer device ownership to the CPU before we can manipulate
the mapped data.

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