aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2007-10-15 17:02:13 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-16 21:10:27 -0400
commit121244a7bfbc739a8d6823aa52c074d1766b895f (patch)
tree270abc3988175be6a16538039cfb504ce886bd84
parent9a7387c23356c0e6fc72934ceaf1fa663d503485 (diff)
e1000e: Fix debug printk macro
Spotted by Joe Perches. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/e1000e/hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h
index aa82f1afb7fb..64515789fd4d 100644
--- a/drivers/net/e1000e/hw.h
+++ b/drivers/net/e1000e/hw.h
@@ -852,7 +852,7 @@ struct e1000_hw {
852 852
853#ifdef DEBUG 853#ifdef DEBUG
854#define hw_dbg(hw, format, arg...) \ 854#define hw_dbg(hw, format, arg...) \
855 printk(KERN_DEBUG, "%s: " format, e1000e_get_hw_dev_name(hw), ##arg); 855 printk(KERN_DEBUG "%s: " format, e1000e_get_hw_dev_name(hw), ##arg)
856#else 856#else
857static inline int __attribute__ ((format (printf, 2, 3))) 857static inline int __attribute__ ((format (printf, 2, 3)))
858hw_dbg(struct e1000_hw *hw, const char *format, ...) 858hw_dbg(struct e1000_hw *hw, const char *format, ...)