C6X: fix build breakage
PATCH 1/1 C6X: fix build breakage
There is a missing curly brace so this code doesn't build.
Fixes 84f2f1c6ad15 ('c6x: convert to dma_map_ops')
Signed-off-by Dan Carpenter <[email protected]>
---
I don't have a cross compiler set up so I'm not able to compile this either. :P
arch/c6x/kernel/dma.c +1 -1
@@ -58,7 +58,7 @@ static int c6x_dma_map_sg(struct device *dev, struct scatterlist *sglist,struct scatterlist *sg;int i; -for_each_sg (sglist, sg, nents, i) +for_each_sg (sglist, sg, nents, i) { sg->dma_address =sg_phys (sg);c6x_dma_sync (sg->dma_address, sg->length, dir); }
Thanks a lot Dan!
Guenther pointed out a couple more issues with the series that his built form found, but the buildbot didn't catch. I'll send your patch to Anderew together with all the other ones.