ARC: Fix coding style issues
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 6 Mar 2013 11:23:45 +0000 (16:53 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 9 Apr 2013 06:51:14 +0000 (12:21 +0530)
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>
arch/arc/kernel/irq.c
arch/arc/kernel/module.c
arch/arc/mm/extable.c

index 551c10dff481387f5b9d89e6c09b937cb22760df..d32c050dd7b9d07a0646abdff72e28a6b6b80f8b 100644 (file)
@@ -102,7 +102,7 @@ void __init init_onchip_IRQ(void)
        struct device_node *intc = NULL;
 
        intc = of_find_compatible_node(NULL, NULL, "snps,arc700-intc");
-       if(!intc)
+       if (!intc)
                panic("DeviceTree Missing incore intc\n");
 
        root_domain = irq_domain_add_legacy(intc, NR_IRQS, 0, 0,
index cdd359352c0a713a88c151db6091ae1738899256..376e04622962b37917dd8681a9ce9e0cb7d0224a 100644 (file)
@@ -47,7 +47,7 @@ int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
                }
        }
 #endif
-    return 0;
+       return 0;
 }
 
 void module_arch_cleanup(struct module *mod)
@@ -141,5 +141,5 @@ int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs,
                mod->arch.unw_info = unw;
        }
 #endif
-    return 0;
+       return 0;
 }
index 014172ba843268c7861ff0600a4c268ee3775cc8..aa652e28132407d5d6b0757cd8f81a96079da597 100644 (file)
@@ -27,7 +27,7 @@ int fixup_exception(struct pt_regs *regs)
 
 #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)
 {
        return __arc_copy_from_user(to, from, n);
@@ -48,7 +48,7 @@ unsigned long arc_clear_user_noinline(void __user *to,
 }
 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)
 {
        return __arc_strncpy_from_user(dst, src, count);
This page took 0.028016 seconds and 5 git commands to generate.