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: v5.15~29357^2~26 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a4ed89cb92f93d406ac45fe5507228a2475e32ba;p=mirror_ubuntu-kernels.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