From: Ben Hutchings 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://git.karo-electronics.de/?a=commitdiff_plain;h=a4ed89c;p=karo-tx-linux.git net: Fix definition of netif_vdbg() when VERBOSE_DEBUG is not defined Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- 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