Subject: + arch-unicore32-kernel-early_printkc-setup_early_printk-missing-initialization.patch added to -mm tree To: xypron.glpk@xxxxxx,gxt@xxxxxxxxxxxxxxx,paul.gortmaker@xxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 27 Jan 2014 13:50:08 -0800 The patch titled Subject: arch/unicore32/kernel/early_printk.c:setup_early_printk: missing initialization has been added to the -mm tree. Its filename is arch-unicore32-kernel-early_printkc-setup_early_printk-missing-initialization.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/arch-unicore32-kernel-early_printkc-setup_early_printk-missing-initialization.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/arch-unicore32-kernel-early_printkc-setup_early_printk-missing-initialization.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: Heinrich Schuchardt <xypron.glpk@xxxxxx> Subject: arch/unicore32/kernel/early_printk.c:setup_early_printk: missing initialization Ii is based on uninitialized value keep_early. This leads to unpredictable result. Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx> Cc: Guan Xuetao <gxt@xxxxxxxxxxxxxxx> Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/unicore32/kernel/early_printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/unicore32/kernel/early_printk.c~arch-unicore32-kernel-early_printkc-setup_early_printk-missing-initialization arch/unicore32/kernel/early_printk.c --- a/arch/unicore32/kernel/early_printk.c~arch-unicore32-kernel-early_printkc-setup_early_printk-missing-initialization +++ a/arch/unicore32/kernel/early_printk.c @@ -35,7 +35,7 @@ static struct console early_ocd_console static int __init setup_early_printk(char *buf) { - int keep_early; + int keep_early = 0; if (!buf || early_console) return 0; _ Patches currently in -mm which might be from xypron.glpk@xxxxxx are arch-unicore32-kernel-early_printkc-setup_early_printk-missing-initialization.patch arch-unicore32-kernel-early_printkc-setup_early_printk-missing-initialization-fix.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