Skip to content

Commit

Permalink
[PATCH] uml: initialize a list head
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 11, 2007
1 parent 60678bb commit c0961c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/um/drivers/stdio_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c0961c1

Please sign in to comment.