+ kernel-sysc-sys_reboot-fix-malformed-panic-message.patch added to -mm tree
Subject: + kernel-sysc-sys_reboot-fix-malformed-panic-message.patch added to -mm tree
To: [email protected]
From: [email protected]
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 <[email protected]>
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'.
---
kernel/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sys.c renamed from kernel/sys.c~kernel-sysc-sys_reboot-fix-malformed-panic-message +1 -1
@@ -509,7 +509,7 @@ SYSCALL_DEFINE4(reboot, int, magic1, intcase 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 [email protected] 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