diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 10:44:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:22 +0100 |
commit | c0961c1804c46bf5bb253e1bd6bc93e4627b79a1 (patch) | |
tree | ab4405ea86fc5a52122c11719aff51c1e5c7626d /arch/um | |
parent | [PATCH] uml: mem.c and physmem.c formatting fixes (diff) | |
download | linux-c0961c1804c46bf5bb253e1bd6bc93e4627b79a1.tar.xz linux-c0961c1804c46bf5bb253e1bd6bc93e4627b79a1.zip |
[PATCH] uml: initialize a list head
We need to initialize lists properly.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/drivers/stdio_console.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c index 8dccdd193d94..7ff0b0fc37e7 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c @@ -69,6 +69,7 @@ static struct line_driver driver = { .write_irq = CONSOLE_WRITE_IRQ, .write_irq_name = "console-write", .mc = { + .list = LIST_HEAD_INIT(driver.mc.list), .name = "con", .config = con_config, .get_config = con_get_config, |