]> git.baikalelectronics.ru Git - kernel.git/commit
mtip32xx: move the blk_rq_map_sg call to mtip_hw_submit_io
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:48:54 +0000 (14:48 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 Nov 2018 15:39:21 +0000 (08:39 -0700)
commit8c0a2b41b113e305fa5a50b5e0582336eaaf0331
treec402f4b5e212fbc11fd75fe72757fb51972fecb2
parent66031e8274b504bbb4bcce0ff8892f52f8cecf36
mtip32xx: move the blk_rq_map_sg call to mtip_hw_submit_io

We have all arguments at hand in mtip_hw_submit_io, so keep the
rq to sg mapping close to the dma_map_sg call.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c