netconsole: set .name in struct console
Subsystems (2)
PATCH 1/1 netconsole: set .name in struct console
From: Randy Dunlap <[email protected]>
Set .name in netconsole's struct console to identify the struct's owner.
Signed-off-by Randy Dunlap <[email protected]>
--- drivers/net/netconsole.c | 1 + 1 files changed, 1 insertion(+)
drivers/net/netconsole.c +1 -0
@@ -87,6 +87,7 @@ static void write_msg(struct console *co }static struct console netconsole = { + .name ="netcon" , .flags =CON_ENABLED |CON_PRINTBUFFER , .write = write_msg };
---
Quoted 4 lines · Randy.Dunlap
From: Randy Dunlap <[email protected]>
Set .name in netconsole's struct console to identify the struct's owner.
Too bad we don't have enough room for the whome name.
Quoted 1 line
Signed-off-by Randy Dunlap <[email protected]>
Acked-by Matt Mackall <[email protected]>
Signature · 1 line
Mathematics is the supreme nostalgia of our time.
From: Matt Mackall <[email protected]>
Date: Tue, 4 Apr 2006 21:47:46 -0500
Quoted 3 lines · Randy.Dunlap
Quoted 1 line
Signed-off-by Randy Dunlap <[email protected]>Acked-by Matt Mackall <[email protected]>
Applied, thanks Randy.