diff options
| author | Anton Blanchard <anton@samba.org> | 2004-09-13 17:44:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-13 17:44:08 -0700 |
| commit | 5d331e47cd830305ad807501a7aabe577b067222 (patch) | |
| tree | 1d2f8ba52b058f614b2bdd97aa16aad065611e15 | |
| parent | 5835ea4d66f6b1935df29c6b0115a464b2b7a9a1 (diff) | |
[PATCH] hvc: uninitialised variable
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | drivers/char/hvc_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c index c1c18632d67d..a65b2881259a 100644 --- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c @@ -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. */ |
