[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>
This commit is contained in:
Jeff Dike 2007-02-10 01:44:11 -08:00 коммит произвёл Linus Torvalds
Родитель 60678bbc76
Коммит c0961c1804
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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,