Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664300 > unrolled thread

[PATCH] netconsole: Remove duplicate "netconsole: " logging prefix

Started byJoe Perches <joe@perches.com>
First post2017-06-13 01:50 +0200
Last post2017-06-13 19:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] netconsole: Remove duplicate "netconsole: " logging prefix Joe Perches <joe@perches.com> - 2017-06-13 01:50 +0200
    Re: [PATCH] netconsole: Remove duplicate "netconsole: " logging  prefix David Miller <davem@davemloft.net> - 2017-06-13 19:10 +0200

#1664300 — [PATCH] netconsole: Remove duplicate "netconsole: " logging prefix

FromJoe Perches <joe@perches.com>
Date2017-06-13 01:50 +0200
Subject[PATCH] netconsole: Remove duplicate "netconsole: " logging prefix
Message-ID<tRHfQ-nI-9@gated-at.bofh.it>
It's already added by pr_fmt so remove the explicit use.

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/net/netconsole.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c
index 06ee6395117f..0e27920c2b6b 100644
--- a/drivers/net/netconsole.c
+++ b/drivers/net/netconsole.c
@@ -358,7 +358,7 @@ static ssize_t enabled_store(struct config_item *item,
 		if (err)
 			goto out_unlock;
 
-		pr_info("netconsole: network logging started\n");
+		pr_info("network logging started\n");
 	} else {	/* false */
 		/* We need to disable the netconsole before cleaning it up
 		 * otherwise we might end up in write_msg() with
-- 
2.10.0.rc2.1.g053435c

[toc] | [next] | [standalone]


#1665031 — Re: [PATCH] netconsole: Remove duplicate "netconsole: " logging prefix

FromDavid Miller <davem@davemloft.net>
Date2017-06-13 19:10 +0200
SubjectRe: [PATCH] netconsole: Remove duplicate "netconsole: " logging prefix
Message-ID<tRXui-2gn-17@gated-at.bofh.it>
In reply to#1664300
From: Joe Perches <joe@perches.com>
Date: Mon, 12 Jun 2017 16:39:51 -0700

> It's already added by pr_fmt so remove the explicit use.
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web