]> asedeno.scripts.mit.edu Git - linux.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)
commit6c404a68bf83b4135a8a9aa1c388ebdf98e8ba7f
treeb9cc3f231ce5fe0167b39e1007f4f8af4a23754b
parent3a5bd7021184dec2946f2a4d7a8943f8a5713e52
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