Commit 5d331e47 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] hvc: uninitialised variable

Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5835ea4d
......@@ -801,7 +801,7 @@ int hvc_instantiate(uint32_t vtermno, int index)
void hvc_console_print(struct console *co, const char *b, unsigned count)
{
char c[16] __ALIGNED__;
unsigned i, n = 0;
unsigned i = 0, n = 0;
int r, donecr = 0;
/* Console access attempt outside of acceptable console range. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment