提交 5e2a0648 编写于 作者: D David Miller 提交者: Jens Axboe

SG build fix

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Signed-off-by: NJens Axboe <axboe@carl.home.kernel.dk>
上级 c9927c2b
......@@ -234,7 +234,7 @@ unsigned long prepare_sg(struct scatterlist *sg, int nents)
dma_sg->dma_length = dent_len;
if (dma_sg != sg) {
dma_sg = next_sg(dma_sg);
dma_sg = sg_next(dma_sg);
dma_sg->dma_length = 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册