[folded-merged] panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v4.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v4
has been removed from the -mm tree.  Its filename was
     panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v4.patch

This patch was dropped because it was folded into panic-add-an-option-to-replay-all-the-printk-message-in-buffer.patch

------------------------------------------------------
From: Feng Tang <feng.tang@xxxxxxxxx>
Subject: panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v4

keep the original console_flush_on_panic() inside panic(), as suggested by
Petr Mladek

Link: http://lkml.kernel.org/r/1556199137-14163-1-git-send-email-feng.tang@xxxxxxxxx
Signed-off-by: Feng Tang <feng.tang@xxxxxxxxx>
Cc: Aaro Koskinen <aaro.koskinen@xxxxxxxxx>
Cc: Petr Mladek <pmladek@xxxxxxxx>
Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx>
Cc: Kees Cook <keescook@xxxxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/panic.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/kernel/panic.c~panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v4
+++ a/kernel/panic.c
@@ -137,8 +137,6 @@ static void panic_print_sys_info(void)
 {
 	if (panic_print & PANIC_PRINT_ALL_PRINTK_MSG)
 		console_flush_on_panic(CONSOLE_REPLAY_ALL);
-	else
-		console_flush_on_panic(CONSOLE_FLUSH_PENDING);
 
 	if (panic_print & PANIC_PRINT_TASK_INFO)
 		show_state();
@@ -283,6 +281,8 @@ void panic(const char *fmt, ...)
 	 * panic() is not being callled from OOPS.
 	 */
 	debug_locks_off();
+	console_flush_on_panic(CONSOLE_FLUSH_PENDING);
+
 	panic_print_sys_info();
 
 	if (!panic_blink)
_

Patches currently in -mm which might be from feng.tang@xxxxxxxxx are

panic-add-an-option-to-replay-all-the-printk-message-in-buffer.patch
panic-add-an-option-to-replay-all-the-printk-message-in-buffer-v5.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux