From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2660C8D3B for ; Thu, 19 Apr 2018 13:31:03 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9EDD521053; Thu, 19 Apr 2018 07:31:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 19 Apr 2018 07:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=GFeIXixv0hQr6jBCz87FSXNJnr e9+iCzWXHknfCAkhE=; b=S3PuUzzBXzIr6+AJfvceIyIUT3s1gtNjy5EnDkjml0 faEgd7tUjyJiy8ztwJfQB0es2Rg8lV1N9poltIJF6yNF2eMiOrb9SDiFViIDOouY b9v3XCAXqsvArUVjSchUNaI3bnc+rM5DwAkEL+9QjJpsV9prP/UXPGcDDA26tkvy 8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=GFeIXi xv0hQr6jBCz87FSXNJnre9+iCzWXHknfCAkhE=; b=B0xWEp4FrOEB/Dw+qfYqYa 9LEbw5hU511hbkVMc0BSTs5FtOfHKbaDxAm00hS8XDblbvL9R4uHj4jFJC6XRH9n Jh3Cb09h0I5dKSfG+t1a2fm1OjlFnD4WKgG60krVtmv8k/z48ZdmCWqfeBWGMjLe E7bnPMByAedHAWxPfGj2rPQ7lnwswHzcTtpooBpFPHEzzvazMe5BIzeNiWKtEM1q ZGED4gpVp0BWOeF6K2ia1pGESd4PQfURiZtgpfl7S+eeQ6pAZR+mpCyaGDh4XHbx HAZRhfqhHH1HGrW+bBbRjOgoStG7KM5+Ohomc1Rh3nMnMUQuufuMOH/KI2gEiL/w == X-ME-Sender: Received: from xps.localnet (149.15.136.77.rev.sfr.net [77.136.15.149]) by mail.messagingengine.com (Postfix) with ESMTPA id D63221025D; Thu, 19 Apr 2018 07:31:00 -0400 (EDT) From: Thomas Monjalon To: "De Lara Guarch, Pablo" Cc: dev@dpdk.org, "Carrillo, Erik G" , "jerin.jacob@caviumnetworks.com" , ferruh.yigit@intel.com Date: Thu, 19 Apr 2018 13:30:56 +0200 Message-ID: <1603413.mnY5xBgn0v@xps> In-Reply-To: References: <20180417131342.32027-1-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eventdev: fix icc build 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, 19 Apr 2018 11:31:03 -0000 > > ICC complains about variable being used before its value is set. > > Since the variable is only assigned in the for loop, its declaration is moved > > inside and is initialized. > > > > lib/librte_eventdev/rte_event_timer_adapter.c(708): error #592: > > variable "ret" is used before its value is set > > RTE_SET_USED(ret); > > > > Fixes: 6750b21bd6af ("eventdev: add default software timer adapter") > > Signed-off-by: Pablo de Lara > > Acked-by: Erik Gabriel Carrillo Applied, thanks