Skip to contentSkip to conversation

x86_64: Clean up nmi error message

PATCH In review Chuck Ebbert 2 participants 2 messages Sep 9, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_64: Clean up nmi error message

The x86_64 nmi code is missing a newline in one of its messages.

I added a space before the CPU id for readability and killed the trailing space on the previous line as well.

 arch/x86_64/kernel/nmi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86_64/kernel/nmi.c +2 -2
@@ -486,8 +486,8 @@ void nmi_watchdog_tick (struct pt_regs *
 							== NOTIFY_STOP) {
 				local_set(&__get_cpu_var(alert_counter), 0);
 				return;
-			} 
-			die_nmi("NMI Watchdog detected LOCKUP on CPU%d", regs);
+			}
+			die_nmi("NMI Watchdog detected LOCKUP on CPU %d\n", regs);
 		}
 	} else {
 		__get_cpu_var(last_irq_sum) = sum;

__
Chuck

#1 lore raw
Quoted 4 lines · Chuck Ebbert

The x86_64 nmi code is missing a newline in one of its messages.

I added a space before the CPU id for readability and killed the trailing space on the previous line as well.

Thanks merged.
-Andi