Skip to content

Commit

Permalink
x86: arch/x86/kernel/cpu/mcheck/k7.c checkpatch fixes
Browse files Browse the repository at this point in the history
#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>
  • Loading branch information
Andrew Morton authored and Ingo Molnar committed Jan 30, 2008
1 parent b912a1c commit 7271339
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/mcheck/k7.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/mcheck/p4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/mcheck/p6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 7271339

Please sign in to comment.