The patch titled kdump: report actual value of VMCOREINFO_OSRELEASE in VMCOREINFO has been added to the -mm tree. Its filename is kdump-report-actual-value-of-vmcoreinfo_osrelease-in-vmcoreinfo.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 *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: kdump: report actual value of VMCOREINFO_OSRELEASE in VMCOREINFO From: Bernhard Walle <bwalle@xxxxxxx> The current implementation reports the structure name as VMCOREINFO_OSRELEASE in VMCOREINFO, e.g. VMCOREINFO_OSRELEASE=init_uts_ns.name.release That doesn't make sense because it's always the same. Instead, use the value, e.g. VMCOREINFO_OSRELEASE=2.6.26-rc3 That's also what the 'makedumpfile -g' does. Signed-off-by: Bernhard Walle <bwalle@xxxxxxx> Cc: "Ken'ichi Ohmichi" <oomichi@xxxxxxxxxxxxxxxxx> Acked-by: Vivek Goyal <vgoyal@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/kexec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/kexec.h~kdump-report-actual-value-of-vmcoreinfo_osrelease-in-vmcoreinfo include/linux/kexec.h --- a/include/linux/kexec.h~kdump-report-actual-value-of-vmcoreinfo_osrelease-in-vmcoreinfo +++ a/include/linux/kexec.h @@ -130,8 +130,8 @@ void vmcoreinfo_append_str(const char *f __attribute__ ((format (printf, 1, 2))); unsigned long paddr_vmcoreinfo_note(void); -#define VMCOREINFO_OSRELEASE(name) \ - vmcoreinfo_append_str("OSRELEASE=%s\n", #name) +#define VMCOREINFO_OSRELEASE(value) \ + vmcoreinfo_append_str("OSRELEASE=%s\n", value) #define VMCOREINFO_PAGESIZE(value) \ vmcoreinfo_append_str("PAGESIZE=%ld\n", value) #define VMCOREINFO_SYMBOL(name) \ _ Patches currently in -mm which might be from bwalle@xxxxxxx are origin.patch linux-next.patch kdump-report-actual-value-of-vmcoreinfo_osrelease-in-vmcoreinfo.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