From: Ben Hutchings <bhutchings@solarflare.com>
Date: Tue, 18 May 2010 06:56:32 +0000 (+0000)
Subject: net: Fix definition of netif_vdbg() when VERBOSE_DEBUG is not defined
X-Git-Tag: v2.6.35-rc1~260^2~26
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a4ed89c;p=users%2Fwilly%2Flinux.git

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

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 256419583d9d..40291f375024 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2334,7 +2334,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