]> err.no Git - linux-2.6/commitdiff
x86: arch/x86/kernel/cpu/mcheck/k7.c checkpatch fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Jan 2008 12:32:13 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:13 +0000 (13:32 +0100)
#88: FILE: arch/x86/kernel/cpu/mcheck/k7.c:34:
+ rdmsr(MSR_IA32_MC0_STATUS+i*4,low, high);
                               ^

ERROR: need space after that ',' (ctx:VxV)
#142: FILE: arch/x86/kernel/cpu/mcheck/p4.c:170:
+ rdmsr(MSR_IA32_MC0_STATUS+i*4,low, high);
                               ^

ERROR: need space after that ',' (ctx:VxV)
#180: FILE: arch/x86/kernel/cpu/mcheck/p6.c:34:
+ rdmsr(MSR_IA32_MC0_STATUS+i*4,low, high);
                               ^

total: 3 errors, 0 warnings, 114 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Min Zhang <mzhang@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/mcheck/k7.c
arch/x86/kernel/cpu/mcheck/p4.c
arch/x86/kernel/cpu/mcheck/p6.c

index 55dfd4f9446a5ba5a5fe9377d76ac74be416c0e5..e633c9c2b764c3ec7829420b06b6ece9c459d455 100644 (file)
@@ -31,7 +31,7 @@ static void k7_machine_check(struct pt_regs * regs, long error_code)
                smp_processor_id(), mcgsth, mcgstl);
 
        for (i = 1; i < nr_mce_banks; i++) {
-               rdmsr(MSR_IA32_MC0_STATUS+i*4,low, high);
+               rdmsr(MSR_IA32_MC0_STATUS+i*4, low, high);
                if (high&(1<<31)) {
                        char misc[20];
                        char addr[24];
index 77463a3e9adf4a5554d2274125b39871215c21df..cb03345554a5cfe0153ea8ad6ef0d739fc8b1583 100644 (file)
@@ -167,7 +167,7 @@ static void intel_machine_check(struct pt_regs * regs, long error_code)
        }
 
        for (i = 0; i < nr_mce_banks; i++) {
-               rdmsr(MSR_IA32_MC0_STATUS+i*4,low, high);
+               rdmsr(MSR_IA32_MC0_STATUS+i*4, low, high);
                if (high & (1<<31)) {
                        char misc[20];
                        char addr[24];
index 20376a2c0cf8feaaa593db758c7ae2e8fbf2e048..74342604d30e1d3d6eb98567103d63b046f6a8f2 100644 (file)
@@ -31,7 +31,7 @@ static void intel_machine_check(struct pt_regs * regs, long error_code)
                smp_processor_id(), mcgsth, mcgstl);
 
        for (i = 0; i < nr_mce_banks; i++) {
-               rdmsr(MSR_IA32_MC0_STATUS+i*4,low, high);
+               rdmsr(MSR_IA32_MC0_STATUS+i*4, low, high);
                if (high & (1<<31)) {
                        char misc[20];
                        char addr[24];