lkml.org 
[lkml]   [2016]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] pcmcia: cm4040 remove KERN_INFO as it is not at start of printk message
Date
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
\
 
 \ /
  Last update: 2016-05-16 14:41    [W:0.082 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site