From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2018 07:13:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,463,1517904000"; d="scan'208";a="38077478" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 17 Apr 2018 07:13:48 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 07:13:48 -0700 Received: from fmsmsx115.amr.corp.intel.com ([169.254.4.201]) by FMSMSX157.amr.corp.intel.com ([169.254.14.141]) with mapi id 14.03.0319.002; Tue, 17 Apr 2018 07:13:47 -0700 From: "Carrillo, Erik G" To: "De Lara Guarch, Pablo" , "jerin.jacob@caviumnetworks.com" CC: "dev@dpdk.org" Thread-Topic: [PATCH] eventdev: fix icc build Thread-Index: AQHT1k3jpPIy6c0k4kilcAOeKskTZqQE/74A Date: Tue, 17 Apr 2018 14:13:47 +0000 Message-ID: References: <20180417131342.32027-1-pablo.de.lara.guarch@intel.com> In-Reply-To: <20180417131342.32027-1-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTlhZjc5ZTctMzEwMi00ODg5LWExZGUtMTUwZmE1Yjk1ZmUzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJDeEg0cndwU0tXRm5hblVVV1dZWWZSVzhKbVFXaGNia2wreDRoWkxWSGJ2dzN4UEVteVFKUG9ZTm43aHl2NnRLIn0= x-ctpclassification: CTP_NT x-originating-ip: [10.1.200.108] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Tue, 17 Apr 2018 14:13:50 -0000 > -----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