lkml.org 
[lkml]   [2009]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 21/21] drivers/net/tlan.h: Convert printk(KERN_DEBUG to pr_dbg(
Date
Removed "TLAN: " prefix from debug printks, it's added by pr_fmt

Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/tlan.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/tlan.h b/drivers/net/tlan.h
index 4b82f28..c5a4ad5 100644
--- a/drivers/net/tlan.h
+++ b/drivers/net/tlan.h
@@ -44,7 +44,7 @@
#define TLAN_RECORD 1

#define TLAN_DBG(lvl, format, args...) \
- do { if (debug&lvl) printk(KERN_DEBUG "TLAN: " format, ##args ); } while(0)
+ do { if (debug & lvl) pr_dbg(format, ##args); } while (0)

#define TLAN_DEBUG_GNRL 0x0001
#define TLAN_DEBUG_TX 0x0002
--
1.6.3.1.10.g659a0.dirty


\
 
 \ /
  Last update: 2009-10-05 03:15    [W:0.222 / U:1.788 seconds]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site