In a few places we don't have whitespace between macro parameters,
which makes them hard to read. This patch adds whitespace to clearly
separate the parameters.
In a few places we have unnecessary whitespace around unary operators,
which is confusing, This patch removes the unnecessary whitespace.
Signed-off-by: Zhiyuan Dai <daizhiyuan@phytium.com.cn>
Link: https://lore.kernel.org/r/1612403029-5011-1-git-send-email-daizhiyuan@phytium.com.cn
Signed-off-by: Will Deacon <will@kernel.org>
 #include <asm/sections.h>
 #include <linux/stop_machine.h>
 
-#define __ALT_PTR(a,f)         ((void *)&(a)->f + (a)->f)
+#define __ALT_PTR(a, f)                ((void *)&(a)->f + (a)->f)
 #define ALT_ORIG_PTR(a)                __ALT_PTR(a, orig_offset)
 #define ALT_REPL_PTR(a)                __ALT_PTR(a, alt_offset)
 
 
 }
 #endif
 
-#define cmp_3way(a,b)  ((a) < (b) ? -1 : (a) > (b))
+#define cmp_3way(a, b) ((a) < (b) ? -1 : (a) > (b))
 
 static int cmp_rela(const void *a, const void *b)
 {
 
 {
        int idx;
 
-       for (idx = ARMV8_IDX_COUNTER0; idx < cpu_pmu->num_events; idx ++) {
+       for (idx = ARMV8_IDX_COUNTER0; idx < cpu_pmu->num_events; idx++) {
                if (!test_and_set_bit(idx, cpuc->used_mask))
                        return idx;
        }
 
        }
 }
 
-void show_regs(struct pt_regs * regs)
+void show_regs(struct pt_regs *regs)
 {
        __show_regs(regs);
        dump_backtrace(regs, NULL, KERN_DEFAULT);
                        ret = frame.pc;
                        goto out;
                }
-       } while (count ++ < 16);
+       } while (count++ < 16);
 
 out:
        put_task_stack(p);
 
 #include <asm/system_misc.h>
 #include <asm/sysreg.h>
 
-static const char *handler[]= {
+static const char *handler[] = {
        "Synchronous Abort",
        "IRQ",
        "FIQ",