aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-03-06 06:23:45 -0500
committerVineet Gupta <vgupta@synopsys.com>2013-04-09 02:51:14 -0400
commit955ad5959f913bd340ecb8d5e78d03ef7d1b0392 (patch)
tree1add68a5f58568c91d2a68b07c0194f21a0d5021 /arch/arc
parent1ec9db1056b0c4b8b9dfca4736634c7c8e0833d5 (diff)
ARC: Fix coding style issues
Fixes the following coding style issues as detected by checkpatch: ERROR: space required before the open parenthesis '(' ERROR: "foo * bar" should be "foo *bar" WARNING: space prohibited between function name and open parenthesis '(' WARNING: please, no spaces at the start of a line Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/kernel/irq.c2
-rw-r--r--arch/arc/kernel/module.c4
-rw-r--r--arch/arc/mm/extable.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/arch/arc/kernel/irq.c b/arch/arc/kernel/irq.c
index 551c10dff481..d32c050dd7b9 100644
--- a/arch/arc/kernel/irq.c
+++ b/arch/arc/kernel/irq.c
@@ -102,7 +102,7 @@ void __init init_onchip_IRQ(void)
102 struct device_node *intc = NULL; 102 struct device_node *intc = NULL;
103 103
104 intc = of_find_compatible_node(NULL, NULL, "snps,arc700-intc"); 104 intc = of_find_compatible_node(NULL, NULL, "snps,arc700-intc");
105 if(!intc) 105 if (!intc)
106 panic("DeviceTree Missing incore intc\n"); 106 panic("DeviceTree Missing incore intc\n");
107 107
108 root_domain = irq_domain_add_legacy(intc, NR_IRQS, 0, 0, 108 root_domain = irq_domain_add_legacy(intc, NR_IRQS, 0, 0,
diff --git a/arch/arc/kernel/module.c b/arch/arc/kernel/module.c
index cdd359352c0a..376e04622962 100644
--- a/arch/arc/kernel/module.c
+++ b/arch/arc/kernel/module.c
@@ -47,7 +47,7 @@ int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
47 } 47 }
48 } 48 }
49#endif 49#endif
50 return 0; 50 return 0;
51} 51}
52 52
53void module_arch_cleanup(struct module *mod) 53void module_arch_cleanup(struct module *mod)
@@ -141,5 +141,5 @@ int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs,
141 mod->arch.unw_info = unw; 141 mod->arch.unw_info = unw;
142 } 142 }
143#endif 143#endif
144 return 0; 144 return 0;
145} 145}
diff --git a/arch/arc/mm/extable.c b/arch/arc/mm/extable.c
index 014172ba8432..aa652e281324 100644
--- a/arch/arc/mm/extable.c
+++ b/arch/arc/mm/extable.c
@@ -27,7 +27,7 @@ int fixup_exception(struct pt_regs *regs)
27 27
28#ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE 28#ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
29 29
30long arc_copy_from_user_noinline(void *to, const void __user * from, 30long arc_copy_from_user_noinline(void *to, const void __user *from,
31 unsigned long n) 31 unsigned long n)
32{ 32{
33 return __arc_copy_from_user(to, from, n); 33 return __arc_copy_from_user(to, from, n);
@@ -48,7 +48,7 @@ unsigned long arc_clear_user_noinline(void __user *to,
48} 48}
49EXPORT_SYMBOL(arc_clear_user_noinline); 49EXPORT_SYMBOL(arc_clear_user_noinline);
50 50
51long arc_strncpy_from_user_noinline (char *dst, const char __user *src, 51long arc_strncpy_from_user_noinline(char *dst, const char __user *src,
52 long count) 52 long count)
53{ 53{
54 return __arc_strncpy_from_user(dst, src, count); 54 return __arc_strncpy_from_user(dst, src, count);