Subject: + kernel-sysc-sys_reboot-fix-malformed-panic-message.patch added to -mm tree To: lig.fnst@xxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Fri, 31 May 2013 16:04:18 -0700 The patch titled Subject: kernel/sys.c: sys_reboot(): fix malformed panic message has been added to the -mm tree. Its filename is kernel-sysc-sys_reboot-fix-malformed-panic-message.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: liguang <lig.fnst@xxxxxxxxxxxxxx> Subject: kernel/sys.c: sys_reboot(): fix malformed panic message If LINUX_REBOOT_CMD_HALT for reboot failed, the message "cannot halt" will stay on the same line with the next message, so append a '\n'. Signed-off-by: liguang <lig.fnst@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/sys.c~kernel-sysc-sys_reboot-fix-malformed-panic-message kernel/sys.c --- a/kernel/sys.c~kernel-sysc-sys_reboot-fix-malformed-panic-message +++ a/kernel/sys.c @@ -509,7 +509,7 @@ SYSCALL_DEFINE4(reboot, int, magic1, int case LINUX_REBOOT_CMD_HALT: kernel_halt(); do_exit(0); - panic("cannot halt"); + panic("cannot halt.\n"); case LINUX_REBOOT_CMD_POWER_OFF: kernel_power_off(); _ Patches currently in -mm which might be from lig.fnst@xxxxxxxxxxxxxx are kernel-sysc-remove-unnecessary-parameter-of-set_one_prio.patch kernel-sysc-remove-unnecessary-parameter-of-set_one_prio-fix.patch kernel-sysc-sys_reboot-fix-malformed-panic-message.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html