* + kexec-add-further-check-to-crashkernel.patch added to -mm tree
@ 2012-03-13 19:54 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2012-03-13 19:54 UTC (permalink / raw)
To: mm-commits; +Cc: zhenzhong.duan, ebiederm
The patch titled
Subject: kexec: add further check to crashkernel
has been added to the -mm tree. Its filename is
kexec-add-further-check-to-crashkernel.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: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Subject: kexec: add further check to crashkernel
When using crashkernel=2M-256M, the kernel doesn't give any warning. This
is misleading sometimes.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/kexec.c | 4 ++++
1 file changed, 4 insertions(+)
diff -puN kernel/kexec.c~kexec-add-further-check-to-crashkernel kernel/kexec.c
--- a/kernel/kexec.c~kexec-add-further-check-to-crashkernel
+++ a/kernel/kexec.c
@@ -1359,6 +1359,10 @@ static int __init parse_crashkernel_simp
if (*cur == '@')
*crash_base = memparse(cur+1, &cur);
+ else if (*cur != ' ' && *cur != '\0') {
+ pr_warning("crashkernel: unrecognized char\n");
+ return -EINVAL;
+ }
return 0;
}
_
Subject: Subject: kexec: add further check to crashkernel
Patches currently in -mm which might be from zhenzhong.duan@oracle.com are
linux-next.patch
kexec-add-further-check-to-crashkernel.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-13 19:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-13 19:54 + kexec-add-further-check-to-crashkernel.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.