From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] event/opdl: fix ICC fails at compile time Date: Thu, 25 Jan 2018 17:15:41 +0100 Message-ID: <5453804.ypo4hYcdr4@xps> References: <20180125070350.14735-1-zhiyong.yang@intel.com> <20180125110340.GC9466@sivswdev01.ir.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Liang, Ma" , peter.mccarthy@intel.com, ferruh.yigit@intel.com To: Zhiyong Yang Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id BAA352B96 for ; Thu, 25 Jan 2018 17:16:23 +0100 (CET) In-Reply-To: <20180125110340.GC9466@sivswdev01.ir.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 25/01/2018 12:03, Liang, Ma: > On 25 Jan 15:03, Zhiyong Yang wrote: > > ICC reports the issue at compile time as follows. > > error #592: variable "i" is used before its value is set > > RTE_SET_USED(i); > > > > The patch is to fix it. GCC and CLANG has been tested as well. > > > > Fixes: d548ef513cd7 ("event/opdl: add unit tests") > > Cc: liang.j.ma@intel.com > > Cc: peter.mccarthy@intel.com > > Cc: ferruh.yigit@intel.com > > > > Signed-off-by: Zhiyong Yang > > --- > Many thanks Zhi Yong. > > Acked-by: Liang Ma Applied, thanks