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


Groups > linux.kernel > #1664300

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

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject [PATCH] netconsole: Remove duplicate "netconsole: " logging prefix
Date 2017-06-13 01:50 +0200
Message-ID <tRHfQ-nI-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[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

csiph-web