All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5/8] dynamic debug - convert bonding
@ 2008-06-13 19:03 Jason Baron
  0 siblings, 0 replies; only message in thread
From: Jason Baron @ 2008-06-13 19:03 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, joe, greg, nick, randy.dunlap

-convert bonding to dynamic printk

Signed-off-by: Jason Baron <jbaron@redhat.com>

---

 drivers/net/bonding/bonding.h |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)


diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index a3c74e2..28556dd 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -29,13 +29,8 @@
 
 #define BOND_MAX_ARP_TARGETS	16
 
-#ifdef BONDING_DEBUG
 #define dprintk(fmt, args...) \
-	printk(KERN_DEBUG     \
-	       DRV_NAME ": %s() %d: " fmt, __FUNCTION__, __LINE__ , ## args )
-#else
-#define dprintk(fmt, args...)
-#endif /* BONDING_DEBUG */
+	pr_debug(DRV_NAME ": %s() %d: " fmt, __FUNCTION__, __LINE__ , ## args)
 
 #define IS_UP(dev)					   \
 	      ((((dev)->flags & IFF_UP) == IFF_UP)	&& \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-13 19:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 19:03 [PATCH 5/8] dynamic debug - convert bonding Jason Baron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.