diff options
Diffstat (limited to 'drivers/net/ixgb/ixgb.h')
-rw-r--r-- | drivers/net/ixgb/ixgb.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h index 92d2e71d0c8b..521c0c732998 100644 --- a/drivers/net/ixgb/ixgb.h +++ b/drivers/net/ixgb/ixgb.h | |||
@@ -78,9 +78,13 @@ struct ixgb_adapter; | |||
78 | #define PFX "ixgb: " | 78 | #define PFX "ixgb: " |
79 | 79 | ||
80 | #ifdef _DEBUG_DRIVER_ | 80 | #ifdef _DEBUG_DRIVER_ |
81 | #define IXGB_DBG(args...) printk(KERN_DEBUG PFX args) | 81 | #define IXGB_DBG(fmt, args...) printk(KERN_DEBUG PFX fmt, ##args) |
82 | #else | 82 | #else |
83 | #define IXGB_DBG(args...) | 83 | #define IXGB_DBG(fmt, args...) \ |
84 | do { \ | ||
85 | if (0) \ | ||
86 | printk(KERN_DEBUG PFX fmt, ##args); \ | ||
87 | } while (0) | ||
84 | #endif | 88 | #endif |
85 | 89 | ||
86 | /* TX/RX descriptor defines */ | 90 | /* TX/RX descriptor defines */ |