lkml.org 
[lkml]   [2017]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] hexagon: Fix compile error
Date
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
\
 
 \ /
  Last update: 2017-06-28 02:43    [W:0.027 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site