The patch titled Subject: kexec: use file name as the output message prefix has been added to the -mm tree. Its filename is kexec-use-file-name-as-the-output-message-prefix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kexec-use-file-name-as-the-output-message-prefix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kexec-use-file-name-as-the-output-message-prefix.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: Minfei Huang <mnfhuang@xxxxxxxxx> Subject: kexec: use file name as the output message prefix kexec output message misses the prefix "kexec", when Dave Young split the kexec code. Now, we use file name as the output message prefix. Currently, the format of output message: [ 140.290795] SYSC_kexec_load: hello, world [ 140.291534] kexec: sanity_check_segment_list: hello, world Ideally, the format of output message: [ 30.791503] kexec: SYSC_kexec_load, Hello, world [ 79.182752] kexec_core: sanity_check_segment_list, Hello, world Remove the custom prefix "kexec" in output message. Signed-off-by: Minfei Huang <mnfhuang@xxxxxxxxx> Acked-by: Dave Young <dyoung@xxxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec.c | 2 ++ kernel/kexec_core.c | 4 ++-- kernel/kexec_file.c | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff -puN kernel/kexec.c~kexec-use-file-name-as-the-output-message-prefix kernel/kexec.c --- a/kernel/kexec.c~kexec-use-file-name-as-the-output-message-prefix +++ a/kernel/kexec.c @@ -6,6 +6,8 @@ * Version 2. See the file COPYING for more details. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/capability.h> #include <linux/mm.h> #include <linux/file.h> diff -puN kernel/kexec_core.c~kexec-use-file-name-as-the-output-message-prefix kernel/kexec_core.c --- a/kernel/kexec_core.c~kexec-use-file-name-as-the-output-message-prefix +++ a/kernel/kexec_core.c @@ -6,7 +6,7 @@ * Version 2. See the file COPYING for more details. */ -#define pr_fmt(fmt) "kexec: " fmt +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/capability.h> #include <linux/mm.h> @@ -1027,7 +1027,7 @@ static int __init crash_notes_memory_ini crash_notes = __alloc_percpu(size, align); if (!crash_notes) { - pr_warn("Kexec: Memory allocation for saving cpu register states failed\n"); + pr_warn("Memory allocation for saving cpu register states failed\n"); return -ENOMEM; } return 0; diff -puN kernel/kexec_file.c~kexec-use-file-name-as-the-output-message-prefix kernel/kexec_file.c --- a/kernel/kexec_file.c~kexec-use-file-name-as-the-output-message-prefix +++ a/kernel/kexec_file.c @@ -9,6 +9,8 @@ * Version 2. See the file COPYING for more details. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/capability.h> #include <linux/mm.h> #include <linux/file.h> _ Patches currently in -mm which might be from mnfhuang@xxxxxxxxx are kexec-use-file-name-as-the-output-message-prefix.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