Skip to contentSkip to conversation

C6X: fix build breakage

PATCH In review Dan Carpenter 2 participants 2 messages Nov 21, 2015 – Nov 22, 2015 Kernel janitors

lore
Share & tools
lore
#0 lore raw

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')

---
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
index fd1d5c0..8b7db6e 100644
@@ -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);
 	}
#1 lore raw

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.