Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676297

[PATCH -next] hexagon: Fix compile error

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject [PATCH -next] hexagon: Fix compile error
Date 2017-06-28 02:50 +0200
Message-ID <tX9l8-89M-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Fix:

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

Cc: Christoph Hellwig <hch@lst.de>
Fixes: 8715a7227c30b ("hexagon: switch to use ->mapping_error for ...")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
Maybe fold into the offending patch if possible ?

 arch/hexagon/kernel/dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/hexagon/kernel/dma.c b/arch/hexagon/kernel/dma.c
index 9ff1b2041f85..546792d176a4 100644
--- a/arch/hexagon/kernel/dma.c
+++ b/arch/hexagon/kernel/dma.c
@@ -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,
 };
 
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH -next] hexagon: Fix compile error Guenter Roeck <linux@roeck-us.net> - 2017-06-28 02:50 +0200
  Re: [PATCH -next] hexagon: Fix compile error Christoph Hellwig <hch@lst.de> - 2017-06-28 16:00 +0200

csiph-web