[dpdk-dev] [PATCH 7/7] ixgbe/base: fix build with debug
Zhang, Helin
helin.zhang at intel.com
Thu Jul 3 08:33:28 CEST 2014
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Wednesday, July 2, 2014 11:03 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH 7/7] 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 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
Reveiwed-by: Helin Zhang <helin.zhang at intel.com>
More information about the dev
mailing list