From cedfe35321989f8c4219fc9bd8e5a1f13d2e7785 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Wed, 2 Jul 2014 15:10:59 +0200 Subject: [PATCH] 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 Acked-by: Bruce Richardson --- 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 1636ee1771..2bf1a6d7a0 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.20.1