Commit 955ad595 authored by Sachin Kamat's avatar Sachin Kamat Committed by Vineet Gupta

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 1ec9db10
...@@ -102,7 +102,7 @@ void __init init_onchip_IRQ(void) ...@@ -102,7 +102,7 @@ void __init init_onchip_IRQ(void)
struct device_node *intc = NULL; struct device_node *intc = NULL;
intc = of_find_compatible_node(NULL, NULL, "snps,arc700-intc"); intc = of_find_compatible_node(NULL, NULL, "snps,arc700-intc");
if(!intc) if (!intc)
panic("DeviceTree Missing incore intc\n"); panic("DeviceTree Missing incore intc\n");
root_domain = irq_domain_add_legacy(intc, NR_IRQS, 0, 0, root_domain = irq_domain_add_legacy(intc, NR_IRQS, 0, 0,
......
...@@ -27,7 +27,7 @@ int fixup_exception(struct pt_regs *regs) ...@@ -27,7 +27,7 @@ int fixup_exception(struct pt_regs *regs)
#ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE #ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
long arc_copy_from_user_noinline(void *to, const void __user * from, long arc_copy_from_user_noinline(void *to, const void __user *from,
unsigned long n) unsigned long n)
{ {
return __arc_copy_from_user(to, from, n); return __arc_copy_from_user(to, from, n);
...@@ -48,7 +48,7 @@ unsigned long arc_clear_user_noinline(void __user *to, ...@@ -48,7 +48,7 @@ unsigned long arc_clear_user_noinline(void __user *to,
} }
EXPORT_SYMBOL(arc_clear_user_noinline); EXPORT_SYMBOL(arc_clear_user_noinline);
long arc_strncpy_from_user_noinline (char *dst, const char __user *src, long arc_strncpy_from_user_noinline(char *dst, const char __user *src,
long count) long count)
{ {
return __arc_strncpy_from_user(dst, src, count); return __arc_strncpy_from_user(dst, src, count);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment