arch/unicore32/kernel/early_printk.c:setup_early_printk: missing initialization
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 28 Jan 2014 01:06:54 +0000 (17:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Jan 2014 05:02:39 +0000 (21:02 -0800)
commit40e05dd026c27d7ed2493d196705492338d449a9
treed5f5879b4d68826417d1e41596a7a64b6b18100b
parentadd688fbd32158440dbe62c07269a39ed969c059
arch/unicore32/kernel/early_printk.c:setup_early_printk: missing initialization

It is based on uninitialized value keep_early.  This leads to
unpredictable result.

[akpm@linux-foundation.org: simplify code]
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/unicore32/kernel/early_printk.c