diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index e7fd468f7126..d94cb1431519 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2795,15 +2795,15 @@ do { \ | |||
2795 | #define netif_info(priv, type, dev, fmt, args...) \ | 2795 | #define netif_info(priv, type, dev, fmt, args...) \ |
2796 | netif_level(info, priv, type, dev, fmt, ##args) | 2796 | netif_level(info, priv, type, dev, fmt, ##args) |
2797 | 2797 | ||
2798 | #if defined(DEBUG) | 2798 | #if defined(CONFIG_DYNAMIC_DEBUG) |
2799 | #define netif_dbg(priv, type, dev, format, args...) \ | ||
2800 | netif_printk(priv, type, KERN_DEBUG, dev, format, ##args) | ||
2801 | #elif defined(CONFIG_DYNAMIC_DEBUG) | ||
2802 | #define netif_dbg(priv, type, netdev, format, args...) \ | 2799 | #define netif_dbg(priv, type, netdev, format, args...) \ |
2803 | do { \ | 2800 | do { \ |
2804 | if (netif_msg_##type(priv)) \ | 2801 | if (netif_msg_##type(priv)) \ |
2805 | dynamic_netdev_dbg(netdev, format, ##args); \ | 2802 | dynamic_netdev_dbg(netdev, format, ##args); \ |
2806 | } while (0) | 2803 | } while (0) |
2804 | #elif defined(DEBUG) | ||
2805 | #define netif_dbg(priv, type, dev, format, args...) \ | ||
2806 | netif_printk(priv, type, KERN_DEBUG, dev, format, ##args) | ||
2807 | #else | 2807 | #else |
2808 | #define netif_dbg(priv, type, dev, format, args...) \ | 2808 | #define netif_dbg(priv, type, dev, format, args...) \ |
2809 | ({ \ | 2809 | ({ \ |