Commit-ID:  5ad751053704df3f00d2bb2dc9345c697c212150
Gitweb:     https://git.kernel.org/tip/5ad751053704df3f00d2bb2dc9345c697c212150
Author:     Borislav Petkov <[email protected]>
AuthorDate: Tue, 6 Mar 2018 10:49:12 +0100
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Thu, 8 Mar 2018 12:01:10 +0100

panic: Add closing panic marker parenthesis

Otherwise it looks unbalanced.

Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]

---
 kernel/panic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/panic.c b/kernel/panic.c
index 2cfef408fec9..9fb023d0cae1 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -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();

Reply via email to