]> git.baikalelectronics.ru Git - kernel.git/commit
mtip32xxx: use for_each_sg
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:49:02 +0000 (14:49 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 Nov 2018 15:39:21 +0000 (08:39 -0700)
commit27e980ffd0283e1c7305bf46a22a9ba50bf53163
tree42befa0ff6e60ba97d61a113794f59a4ab8fa51c
parentbc2754550480aa3137ffbf1dcf4abee08dfb943e
mtip32xxx: use for_each_sg

Use the proper helper instead of manually iterating the scatterlist,
which is broken in the presence of chained S/G lists.

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