[dpdk-dev] [PATCH 7/7] ixgbe/base: fix build with debug

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jul 2 17:02:55 CEST 2014


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 at 6wind.com>
---
 lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h | 4 ++--
 1 file 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
-- 
2.0.0



More information about the dev mailing list