From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v1] eventdev: fix build error Date: Wed, 10 Oct 2018 21:43:11 +0200 Message-ID: <2327821.3tYKhCDlcN@xps> References: <20181009101322.83223-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Nikhil Rao , Jerin Jacob , stable@dpdk.org To: Ferruh Yigit Return-path: In-Reply-To: <20181009101322.83223-1-ferruh.yigit@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" 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