The patch titled Subject: kernel/sys.c: fix mishandling of out of memory in poweroff has been added to the -mm tree. Its filename is kernel-sysc-fix-mishandling-of-out-of-memory-in-poweroff.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: Alan Cox <alan@xxxxxxxxxxxxxxx> Subject: kernel/sys.c: fix mishandling of out of memory in poweroff Coverity 703573 Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx> 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-fix-mishandling-of-out-of-memory-in-poweroff kernel/sys.c --- a/kernel/sys.c~kernel-sysc-fix-mishandling-of-out-of-memory-in-poweroff +++ a/kernel/sys.c @@ -2217,13 +2217,13 @@ int orderly_poweroff(bool force) ret = call_usermodehelper_fns(argv[0], argv, envp, UMH_NO_WAIT, NULL, argv_cleanup, NULL); -out: if (likely(!ret)) return 0; if (ret == -ENOMEM) argv_free(argv); +out: if (force) { printk(KERN_WARNING "Failed to start orderly shutdown: " "forcing the issue\n"); _ Subject: Subject: kernel/sys.c: fix mishandling of out of memory in poweroff Patches currently in -mm which might be from alan@xxxxxxxxxxxxxxx are linux-next.patch fs-make-dumpable=2-require-fully-qualified-path.patch coredump-warn-about-unsafe-suid_dumpable-core_pattern-combo.patch kernel-sysc-fix-mishandling-of-out-of-memory-in-poweroff.patch qla2xxx-print-the-right-array-elements.patch fcoe-unsigned-long-can-never-be-negative.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