projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fba2a
)
[NET] netconsole: set .name in struct console
author
Randy Dunlap
<rdunlap@xenotime.net>
Wed, 5 Apr 2006 03:11:56 +0000
(20:11 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 10 Apr 2006 05:25:25 +0000
(22:25 -0700)
Set .name in netconsole's struct console to identify the
struct's owner.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/netconsole.c
b/drivers/net/netconsole.c
index 75b35ad760de3cf78fa7b3939a9902c301261731..66e74f7402610f5ac9ad769457f01b5254d1b27e 100644
(file)
--- a/
drivers/net/netconsole.c
+++ b/
drivers/net/netconsole.c
@@
-87,6
+87,7
@@
static void write_msg(struct console *con, const char *msg, unsigned int len)
}
static struct console netconsole = {
+ .name = "netcon",
.flags = CON_ENABLED | CON_PRINTBUFFER,
.write = write_msg
};