Commit fdec0982 authored by Colin Leroy's avatar Colin Leroy Committed by Linus Torvalds

[PATCH] fix warning in arch/ppc/pmac/simple/misc.c

Fixes a "variable might be used uninitialized".  As usual it's a harmless
warning because it can't really be, but that cleans the compilation's
output :)
Signed-off-by: default avatarColin Leroy <colin@colino.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 66baf338
...@@ -96,7 +96,7 @@ decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum) ...@@ -96,7 +96,7 @@ decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum)
#endif #endif
char *cp; char *cp;
struct bi_record *rec; struct bi_record *rec;
unsigned long initrd_loc, TotalMemory = 0; unsigned long initrd_loc = 0, TotalMemory = 0;
#ifdef CONFIG_SERIAL_8250_CONSOLE #ifdef CONFIG_SERIAL_8250_CONSOLE
com_port = serial_init(0, NULL); com_port = serial_init(0, NULL);
......
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