aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/netdevice.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index e675ef97a426..ba57d0ba425e 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -4663,22 +4663,22 @@ static inline const char *netdev_reg_state(const struct net_device *dev)
4663 return " (unknown)"; 4663 return " (unknown)";
4664} 4664}
4665 4665
4666__printf(3, 4) 4666__printf(3, 4) __cold
4667void netdev_printk(const char *level, const struct net_device *dev, 4667void netdev_printk(const char *level, const struct net_device *dev,
4668 const char *format, ...); 4668 const char *format, ...);
4669__printf(2, 3) 4669__printf(2, 3) __cold
4670void netdev_emerg(const struct net_device *dev, const char *format, ...); 4670void netdev_emerg(const struct net_device *dev, const char *format, ...);
4671__printf(2, 3) 4671__printf(2, 3) __cold
4672void netdev_alert(const struct net_device *dev, const char *format, ...); 4672void netdev_alert(const struct net_device *dev, const char *format, ...);
4673__printf(2, 3) 4673__printf(2, 3) __cold
4674void netdev_crit(const struct net_device *dev, const char *format, ...); 4674void netdev_crit(const struct net_device *dev, const char *format, ...);
4675__printf(2, 3) 4675__printf(2, 3) __cold
4676void netdev_err(const struct net_device *dev, const char *format, ...); 4676void netdev_err(const struct net_device *dev, const char *format, ...);
4677__printf(2, 3) 4677__printf(2, 3) __cold
4678void netdev_warn(const struct net_device *dev, const char *format, ...); 4678void netdev_warn(const struct net_device *dev, const char *format, ...);
4679__printf(2, 3) 4679__printf(2, 3) __cold
4680void netdev_notice(const struct net_device *dev, const char *format, ...); 4680void netdev_notice(const struct net_device *dev, const char *format, ...);
4681__printf(2, 3) 4681__printf(2, 3) __cold
4682void netdev_info(const struct net_device *dev, const char *format, ...); 4682void netdev_info(const struct net_device *dev, const char *format, ...);
4683 4683
4684#define netdev_level_once(level, dev, fmt, ...) \ 4684#define netdev_level_once(level, dev, fmt, ...) \