Skip to contentSkip to conversation

ARC: [mm] Fix compilation breakage

PATCH In review Noam Camus 2 participants 2 messages Sep 3, 2014 Synopsys ARC architecture

lore
Share & tools
lore

Noam Camus

author
#0 lore raw

PATCH 1/1 ARC: [mm] Fix compilation breakage

From: Noam Camus <[email protected]>

Structure name and variable name were erroneously interchanged

---
 arch/arc/mm/cache_arc700.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arc/mm/cache_arc700.c +1 -1
index 4670afc..22df2d1 100644
@@ -427,7 +427,7 @@ struct ic_inv_args {
 
 static void __ic_line_inv_vaddr_helper(void *info)
 {
-        struct ic_inv *ic_inv_args = (struct ic_inv_args *) info;
+        struct ic_inv_args *ic_inv = (struct ic_inv_args *) info;
 
         __ic_line_inv_vaddr_local(ic_inv->paddr, ic_inv->vaddr, ic_inv->sz);
 }
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Noam Camus

From: Noam Camus <[email protected]>

Structure name and variable name were erroneously interchanged

Linux, this was a brown paper bag on my part, please apply it to current 3.17-rc

Thx,
-Vineet

Quoted 17 lines
---
 arch/arc/mm/cache_arc700.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arc/mm/cache_arc700.c +1 -1
index 4670afc..22df2d1 100644
@@ -427,7 +427,7 @@ struct ic_inv_args {
 
 static void __ic_line_inv_vaddr_helper(void *info)
 {
-        struct ic_inv *ic_inv_args = (struct ic_inv_args *) info;
+        struct ic_inv_args *ic_inv = (struct ic_inv_args *) info;
 
         __ic_line_inv_vaddr_local(ic_inv->paddr, ic_inv->vaddr, ic_inv->sz);
 }