Patchwork net: Fix definition of netif_vdbg() when VERBOSE_DEBUG is not defined

login
register
mail settings
Submitter Ben Hutchings
Date May 18, 2010, 4:56 p.m.
Message ID <1274201792.2113.3.camel@achroite.uk.solarflarecom.com>
Download mbox | patch
Permalink /patch/52892/
State Accepted
Delegated to: David Miller
Headers show

Comments

Ben Hutchings - May 18, 2010, 4:56 p.m.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
 include/linux/netdevice.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - May 24, 2010, 6:21 a.m.
From: Ben Hutchings <bhutchings@solarflare.com>
Date: Tue, 18 May 2010 17:56:32 +0100

> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

Applied, thanks Ben.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c1b2341..667c2a8 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2314,7 +2314,7 @@  do {								\
 #define netif_vdbg(priv, type, dev, format, args...)		\
 ({								\
 	if (0)							\
-		netif_printk(KERN_DEBUG, dev, format, ##args);	\
+		netif_printk(priv, type, KERN_DEBUG, dev, format, ##args); \
 	0;							\
 })
 #endif