From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Carrillo, Erik G" Subject: Re: [PATCH] eventdev: fix icc build Date: Tue, 17 Apr 2018 14:13:47 +0000 Message-ID: References: <20180417131342.32027-1-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: "De Lara Guarch, Pablo" , "jerin.jacob@caviumnetworks.com" Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id EC6118E81 for ; Tue, 17 Apr 2018 16:13:49 +0200 (CEST) In-Reply-To: <20180417131342.32027-1-pablo.de.lara.guarch@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Tuesday, April 17, 2018 8:14 AM > To: jerin.jacob@caviumnetworks.com; Carrillo, Erik G > > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH] eventdev: fix icc build >=20 > ICC complains about variable being used before its value is set. > Since the variable is only assigned in the for loop, its declaration is m= oved > inside and is initialized. >=20 > lib/librte_eventdev/rte_event_timer_adapter.c(708): error #592: > variable "ret" is used before its value is set > RTE_SET_USED(ret); >=20 > Fixes: 6750b21bd6af ("eventdev: add default software timer adapter") > Signed-off-by: Pablo de Lara > --- Acked-by: Erik Gabriel Carrillo