summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2014-07-02 15:10:59 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-07-02 22:33:22 +0200
commitcedfe35321989f8c4219fc9bd8e5a1f13d2e7785 (patch)
treec0721ba03dbd33e0dec47021309d1f75e2253836
parent187785f62e0332defd412eee122f9cc5baebb0e2 (diff)
downloaddpdk-cedfe35321989f8c4219fc9bd8e5a1f13d2e7785.zip
dpdk-cedfe35321989f8c4219fc9bd8e5a1f13d2e7785.tar.gz
dpdk-cedfe35321989f8c4219fc9bd8e5a1f13d2e7785.tar.xz
ixgbe/base: fix build with debug
The upgraded base driver, especially commit 9ba80bde4c, didn't compile if CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER is enabled. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
-rw-r--r--lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h
index 1636ee1..2bf1a6d 100644
--- a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h
+++ b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h
@@ -63,8 +63,8 @@
#define DEBUGOUT7(S, args...) DEBUGOUT(S, ##args)
#define ERROR_REPORT1(e, S, args...) DEBUGOUT(S, ##args)
-#define ERROR_REPORT2 DEBUGOUT2
-#define ERROR_REPORT3 DEBUGOUT3
+#define ERROR_REPORT2(e, S, args...) DEBUGOUT(S, ##args)
+#define ERROR_REPORT3(e, S, args...) DEBUGOUT(S, ##args)
#define FALSE 0
#define TRUE 1