Skip to contentSkip to conversation

hexagon: Fix compile error

PATCH In review Guenter Roeck 2 participants 2 messages Jun 28, 2017 Qualcomm hexagon architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hexagon: Fix compile error

Fix:

arch/hexagon/kernel/dma.c: At top level:
arch/hexagon/kernel/dma.c:209:40: error: expected '}' before ';' token

Cc Christoph Hellwig <[email protected]>
Fixes 8715a7227c30b ("hexagon: switch to use ->mapping_error for ...")

---
Maybe fold into the offending patch if possible ?

 arch/hexagon/kernel/dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/hexagon/kernel/dma.c +1 -1
index 9ff1b2041f85..546792d176a4 100644
@@ -206,7 +206,7 @@ const struct dma_map_ops hexagon_dma_ops = {
 	.map_page	= hexagon_map_page,
 	.sync_single_for_cpu = hexagon_sync_single_for_cpu,
 	.sync_single_for_device = hexagon_sync_single_for_device,
-	.mapping_error	= hexagon_mapping_error;
+	.mapping_error	= hexagon_mapping_error,
 	.is_phys	= 1,
 };
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Guenter Roeck

Fix:

arch/hexagon/kernel/dma.c: At top level:
arch/hexagon/kernel/dma.c:209:40: error: expected '}' before ';' token

Cc Christoph Hellwig <[email protected]>
Fixes 8715a7227c30b ("hexagon: switch to use ->mapping_error for ...")

---
Maybe fold into the offending patch if possible ?

Will do. So it looks like your build farm builds hexagon, but the official build bot doesn't, sigh..