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)
commit27d420bc475e68c85d567d96caf215999d76fd16
tree42befa0ff6e60ba97d61a113794f59a4ab8fa51c
parentd85cb20453bc98da47ab4393a1a05afcafb39a0f
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