panic: Add closing panic marker parenthesis
authorBorislav Petkov <bp@suse.de>
Tue, 6 Mar 2018 09:49:12 +0000 (10:49 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 8 Mar 2018 11:01:10 +0000 (12:01 +0100)
Otherwise it looks unbalanced.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Link: https://lkml.kernel.org/r/20180306094920.16917-2-bp@alien8.de
kernel/panic.c

index 2cfef408fec931ac0ef3f3c95b31269ed1d3ea29..9fb023d0cae158999d04d8c5e3734d7c309fb567 100644 (file)
@@ -289,7 +289,7 @@ void panic(const char *fmt, ...)
                disabled_wait(caller);
        }
 #endif
-       pr_emerg("---[ end Kernel panic - not syncing: %s\n", buf);
+       pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf);
        local_irq_enable();
        for (i = 0; ; i += PANIC_TIMER_STEP) {
                touch_softlockup_watchdog();