From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 8E38A1B27D for ; Thu, 21 Dec 2017 14:00:10 +0100 (CET) Received: by mail-wr0-f196.google.com with SMTP id p17so1367304wre.7 for ; Thu, 21 Dec 2017 05:00:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=+0e94kfg4W0VmOPIHQEcPEng79KVbifJxHmw5d1Zc+A=; b=KMR7X8Fsp4iRySKBZdoe8aKQ+64VrD6ws5tCoAKkbF8B5ogEsSFONvLX8ofARvv0Ki tRzZyPQPadNKbPkT9qcmB0RC3l+Gb9G5QdhcYAXkeAYtW7Yvee9bNN2X7rnREWZzYmO5 NRsKpqDjsgN0Dt/lJkY4jw99jUofAnOaqnmEzGW3P63nn2bT+6dmnt8xK/JYD1YznH2D yE3iRR/mjQziGO2vlxc5GV4JyBFrOvb356wSqFAA4AQcToug7uQFTWToYLg6UjfxAnln TmNHc1dQ7M7tnVy8dgGrLeSWrzZNvITVg/m2GmSZmLwRfeZPVGI/pWTAn7vt51FJtrgI Kz4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=+0e94kfg4W0VmOPIHQEcPEng79KVbifJxHmw5d1Zc+A=; b=BUkCiNjr12FdB6GolcAdlHOq46zay56coUjftXTEkrNTBZTpb1brN9cid3S0os461l 41W252tq8FXBpxlF2LJR0H4WKqphmFnqvMbvqnKfjNeMY8GHQMIMbSxzMqyxGncrjygR in+ORDCWa5C2LTB26wvLF2XoQ5Sp67th7icazsRKWCKHGrkDWWvd9ne3J/BMJxxqI+Ph XF14JOVR5p9Ch5zCcNSMVR6Im8mJhpSxSEpozN3snplfDI5iAb2vbYxHgyy3zjEwdDWt kpiJ/CPjPpcUwiHKlhrAcgVkDjtWR7mdKGvtxfy2dyPvINw3SyQgvpztT+diOnUEUmpi ih6A== X-Gm-Message-State: AKGB3mJgMAH0LE+yHcfiJtTDmCuuHdfZ+zdqb7dRMx6gXEKgqzKJPvvO 7ZJrLm73NB4lFYAsbFYJsov+FTN+ X-Google-Smtp-Source: ACJfBosRLIh5d9SvYgAkuaNavNpY9X/flQa/2AG1N5OTe8B5Md7EJ+5qdO8sktgll6Le1v1/nahu3g== X-Received: by 10.223.150.148 with SMTP id u20mr11642655wrb.157.1513861209981; Thu, 21 Dec 2017 05:00:09 -0800 (PST) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id q74sm10231959wmg.22.2017.12.21.05.00.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 05:00:09 -0800 (PST) Date: Thu, 21 Dec 2017 13:59:57 +0100 From: Adrien Mazarguil To: dev@dpdk.org Cc: Andrey Chilikin Message-ID: <20171221122458.811-3-adrien.mazarguil@6wind.com> References: <20171221122458.811-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171221122458.811-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [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: Thu, 21 Dec 2017 13:00:10 -0000 Reported by check-includes.sh: [...]/rte_pmd_i40e.h:97:30: error: ISO C restricts enumerator values to range of `int' [-Werror=pedantic] RTE_PMD_I40E_PKG_INFO_MAX = 0xFFFFFFFF ^ Fixes: edeab742edac ("net/i40e: get information about DDP profile") Cc: Andrey Chilikin Signed-off-by: Adrien Mazarguil --- drivers/net/i40e/rte_pmd_i40e.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = 0xFFFFFFFF + RTE_PMD_I40E_PKG_INFO_MAX = (int)0xFFFFFFFF }; /** -- 2.11.0