提交 121244a7 编写于 作者: A Auke Kok 提交者: Jeff Garzik

e1000e: Fix debug printk macro

Spotted by Joe Perches.
Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 9a7387c2
...@@ -852,7 +852,7 @@ struct e1000_hw { ...@@ -852,7 +852,7 @@ struct e1000_hw {
#ifdef DEBUG #ifdef DEBUG
#define hw_dbg(hw, format, arg...) \ #define hw_dbg(hw, format, arg...) \
printk(KERN_DEBUG, "%s: " format, e1000e_get_hw_dev_name(hw), ##arg); printk(KERN_DEBUG "%s: " format, e1000e_get_hw_dev_name(hw), ##arg)
#else #else
static inline int __attribute__ ((format (printf, 2, 3))) static inline int __attribute__ ((format (printf, 2, 3)))
hw_dbg(struct e1000_hw *hw, const char *format, ...) hw_dbg(struct e1000_hw *hw, const char *format, ...)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册