projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60678bb
)
[PATCH] uml: initialize a list head
author
Jeff Dike
<jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:11 +0000
(
01:44
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:22 +0000
(10:51 -0800)
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>
arch/um/drivers/stdio_console.c
patch
|
blob
|
history
diff --git
a/arch/um/drivers/stdio_console.c
b/arch/um/drivers/stdio_console.c
index 8dccdd193d94a6212d11eb5ac29f724bf1e70e51..7ff0b0fc37e73eff2875fe4ae0db633570181b66 100644
(file)
--- 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,