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


Groups > linux.kernel > #1401467

[PATCH] pcmcia: cm4040 remove KERN_INFO as it is not at start of printk message

From Colin King <colin.king@canonical.com>
Newsgroups linux.kernel
Subject [PATCH] pcmcia: cm4040 remove KERN_INFO as it is not at start of printk message
Date 2016-05-16 14:20 +0200
Message-ID <rzpF7-6Wo-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Colin Ian King <colin.king@canonical.com>

The debug is being printed using DEBUGP which prepends the string
with and so the KERN_INFO text should not be included.  Also remove the
MODULE_NAME to keep this consistent with other DEBUGP debug messages.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/char/pcmcia/cm4040_cs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c
index fc061f7..4a606f1 100644
--- a/drivers/char/pcmcia/cm4040_cs.c
+++ b/drivers/char/pcmcia/cm4040_cs.c
@@ -506,7 +506,7 @@ static void cm4040_reader_release(struct pcmcia_device *link)
 
 	DEBUGP(3, dev, "-> cm4040_reader_release\n");
 	while (link->open) {
-		DEBUGP(3, dev, KERN_INFO MODULE_NAME ": delaying release "
+		DEBUGP(3, dev, "delaying release "
 		       "until process has terminated\n");
  		wait_event(dev->devq, (link->open == 0));
 	}
-- 
2.8.1

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


Thread

[PATCH] pcmcia: cm4040 remove KERN_INFO as it is not at start of printk message Colin King <colin.king@canonical.com> - 2016-05-16 14:20 +0200
  Re: [PATCH] pcmcia: cm4040 remove KERN_INFO as it is not at start of  printk message Harald Welte <laforge@gnumonks.org> - 2016-05-16 16:40 +0200

csiph-web