From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9205D30E for ; Thu, 3 Jul 2014 08:33:27 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 02 Jul 2014 23:28:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,593,1400050800"; d="scan'208";a="567675295" Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by orsmga002.jf.intel.com with ESMTP; 02 Jul 2014 23:33:31 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.19.9.28) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 2 Jul 2014 23:33:30 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX119.amr.corp.intel.com (10.19.9.28) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 2 Jul 2014 23:33:30 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.122]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.209]) with mapi id 14.03.0123.003; Thu, 3 Jul 2014 14:33:29 +0800 From: "Zhang, Helin" To: Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 7/7] ixgbe/base: fix build with debug Thread-Index: AQHPlgcLYn7wuJ4RL0GhppKbTzQajJuN5SQA Date: Thu, 3 Jul 2014 06:33:28 +0000 Message-ID: References: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com> <1404313375-2205-8-git-send-email-thomas.monjalon@6wind.com> In-Reply-To: <1404313375-2205-8-git-send-email-thomas.monjalon@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 7/7] ixgbe/base: fix build with debug X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 06:33:28 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, July 2, 2014 11:03 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 7/7] ixgbe/base: fix build with debug >=20 > The upgraded base driver, especially commit 9ba80bde4c, didn't compile if > CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER is enabled. >=20 > Signed-off-by: Thomas Monjalon > --- > lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > 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) >=20 > #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) >=20 > #define FALSE 0 > #define TRUE 1 > -- > 2.0.0 Reveiwed-by: Helin Zhang