From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 18FC21B25D for ; Wed, 27 Dec 2017 07:53:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2017 22:53:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,464,1508828400"; d="scan'208";a="187343588" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 26 Dec 2017 22:53:48 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 26 Dec 2017 22:53:48 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 26 Dec 2017 22:53:48 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Wed, 27 Dec 2017 14:53:46 +0800 From: "Xing, Beilei" To: Adrien Mazarguil , "dev@dpdk.org" CC: "Chilikin, Andrey" Thread-Topic: [dpdk-dev] [PATCH v1 2/6] net/i40e: fix issue in exported header Thread-Index: AQHTelu+fYt7da3fGkqBTuOICbVOlaNWyaqA Date: Wed, 27 Dec 2017 06:53:45 +0000 Message-ID: <94479800C636CB44BD422CB454846E0132084422@SHSMSX101.ccr.corp.intel.com> References: <20171221122458.811-1-adrien.mazarguil@6wind.com> <20171221122458.811-3-adrien.mazarguil@6wind.com> In-Reply-To: <20171221122458.811-3-adrien.mazarguil@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 v1 2/6] net/i40e: fix issue in exported header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2017 06:53:50 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Adrien Mazarguil > Sent: Thursday, December 21, 2017 9:00 PM > To: dev@dpdk.org > Cc: Chilikin, Andrey > Subject: [dpdk-dev] [PATCH v1 2/6] net/i40e: fix issue in exported header >=20 > Reported by check-includes.sh: >=20 > [...]/rte_pmd_i40e.h:97:30: error: ISO C restricts enumerator values to > range of `int' [-Werror=3Dpedantic] > RTE_PMD_I40E_PKG_INFO_MAX =3D 0xFFFFFFFF > ^ >=20 > Fixes: edeab742edac ("net/i40e: get information about DDP profile") > Cc: Andrey Chilikin >=20 > Signed-off-by: Adrien Mazarguil > --- > drivers/net/i40e/rte_pmd_i40e.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/i40e/rte_pmd_i40e.h > b/drivers/net/i40e/rte_pmd_i40e.h index 580ca4ae9..49f4427a5 100644 > --- a/drivers/net/i40e/rte_pmd_i40e.h > +++ b/drivers/net/i40e/rte_pmd_i40e.h > @@ -94,7 +94,7 @@ enum rte_pmd_i40e_package_info { > RTE_PMD_I40E_PKG_INFO_PCTYPE_LIST, > RTE_PMD_I40E_PKG_INFO_PTYPE_NUM, > RTE_PMD_I40E_PKG_INFO_PTYPE_LIST, > - RTE_PMD_I40E_PKG_INFO_MAX =3D 0xFFFFFFFF > + RTE_PMD_I40E_PKG_INFO_MAX =3D (int)0xFFFFFFFF > }; >=20 > /** > -- > 2.11.0 Acked-by: Beilei Xing