All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: lkml <linux-kernel@vger.kernel.org>
Cc: mpm@selenic.com, akpm <akpm@osdl.org>
Subject: [PATCH] netconsole: set .name in struct console
Date: Tue, 4 Apr 2006 18:54:20 -0700	[thread overview]
Message-ID: <20060404185420.fbf128c8.rdunlap@xenotime.net> (raw)

From: Randy Dunlap <rdunlap@xenotime.net>

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

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 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
 };


---

             reply	other threads:[~2006-04-05  1:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05  1:54 Randy.Dunlap [this message]
2006-04-05  2:47 ` [PATCH] netconsole: set .name in struct console Matt Mackall
2006-04-05  3:11   ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060404185420.fbf128c8.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.