[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:
Родитель
60678bbc76
Коммит
c0961c1804
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче