[PATCH] netconsole: set .name in struct console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(+)

--- linux-2617-rc1.orig/drivers/net/netconsole.c
+++ linux-2617-rc1/drivers/net/netconsole.c
@@ -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
 };


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux