]> 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)
commitd7ff616160cd65ee730e7792f2d84f083e762815
treeb9cc3f231ce5fe0167b39e1007f4f8af4a23754b
parentb4e95f1e7dadfebc2f5f8f407fc4a465381b9535
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