forked from luck/tmp_suning_uos_patched
[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:
parent
60678bbc76
commit
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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user