Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d938ab44 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller
Browse files

[NET] netconsole: set .name in struct console



Set .name in netconsole's struct console to identify the
struct's owner.

Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Acked-by: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 50fba2aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
};