SG build fix
Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
This commit is contained in:
parent
c9927c2bf4
commit
5e2a06489e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue