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 25DD01B60C; Wed, 10 Oct 2018 21:43:14 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B358821FBA; Wed, 10 Oct 2018 15:43:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 10 Oct 2018 15:43:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=bARMmj8JjnrFZTP0Xffqwv4yZAzyKD0KwICy/odZotM=; b=PdhiisncaRRf zbsU/qm//4VriWDnXeQn8/9L+6rTCkh9UEuuXyezueZZSreHgRydjWTViyV2nQIb ddmUloGoBom/gcodeq7IW30n6kmaBJ4uOSY7lBA9frMk3gVJ1m4blQ0fu/3+8tLk TFiq/HmOaEFb77CNpQWUwkZvF0vQ1TY= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=bARMmj8JjnrFZTP0Xffqwv4yZAzyKD0KwICy/odZo tM=; b=EuBOhvDGhbVsHP2G+ZiMSg5WAR8Dhkry+qMv9MyP/P5tk1CtUs4wQHwD+ y85XNJyT9WF6rkXUcq4hJPQRhjObr92CmwhGeM6tw3PE7D2jjVZbzRAq9CjBSOpz w5/PA4A7d/9xA1PqtBHqIYStuEJfx62fxktdUpnDRh5ZMf4cpG2KjC9sgcrwresB wE2Smngznxym/A2RjYMxX8ZZG9SfpNBYbHzYG66fj9/mVy943i++A/LBrg9pPUhF /Yya2aS5Z2FOkcM36x50/5oRmH8LNFCVcWEbi/2vl9beUPta2RCf6+z6jpkmgmBr xllknaFOfd/ovNKex7Z2L1PQnurgw== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4457DE4623; Wed, 10 Oct 2018 15:43:12 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Nikhil Rao , Jerin Jacob , stable@dpdk.org Date: Wed, 10 Oct 2018 21:43:11 +0200 Message-ID: <2327821.3tYKhCDlcN@xps> In-Reply-To: <20181009101322.83223-1-ferruh.yigit@intel.com> References: <20181009101322.83223-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v1] eventdev: fix build error 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: Wed, 10 Oct 2018 19:43:14 -0000 09/10/2018 12:13, Ferruh Yigit: > build error: > .../lib/librte_eventdev/rte_event_eth_tx_adapter.c: > In function =E2=80=98txa_service_queue_del=E2=80=99: > .../lib/librte_eventdev/rte_event_eth_tx_adapter.c:800:7: > error: =E2=80=98ret=E2=80=99 may be used uninitialized in this function > [-Werror=3Dmaybe-uninitialized] > compilation terminated due to -Wfatal-errors. >=20 > https://mails.dpdk.org/archives/test-report/2018-October/065919.html >=20 > 'ret' may be used uninitialized when 'dev->data->nb_tx_queues' is 0, > although this is not a practical value, initialize 'ret' to cover this > case. >=20 > Fixes: a3bbf2e09756 ("eventdev: add eth Tx adapter implementation") > Cc: stable@dpdk.org The root cause is a new feature in 18.11, so no need to Cc stable. > Signed-off-by: Ferruh Yigit Applied (without stable backport tag), thanks