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:
David Miller 2007-10-24 08:44:21 +02:00 committed by Jens Axboe
parent c9927c2bf4
commit 5e2a06489e

View File

@ -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;
}