numam-dpdk/lib/librte_eventdev
Ferruh Yigit 850716bc57 eventdev: fix build
build error:
.../lib/librte_eventdev/rte_event_eth_tx_adapter.c:
  In function ‘txa_service_queue_del’:
.../lib/librte_eventdev/rte_event_eth_tx_adapter.c:800:7:
  error: ‘ret’ may be used uninitialized in this function
  [-Werror=maybe-uninitialized]
compilation terminated due to -Wfatal-errors.

https://mails.dpdk.org/archives/test-report/2018-October/065919.html

'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.

Fixes: a3bbf2e097 ("eventdev: add eth Tx adapter implementation")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-10-10 21:40:40 +02:00
..
Makefile eventdev: fix port id argument in Rx adapter caps 2018-10-01 16:53:13 +02:00
meson.build eventdev: fix port id argument in Rx adapter caps 2018-10-01 16:53:13 +02:00
rte_event_crypto_adapter.c cryptodev: rename experimental private data APIs 2018-07-11 03:57:24 +02:00
rte_event_crypto_adapter.h eventdev: introduce event crypto adapter 2018-05-10 14:03:57 +02:00
rte_event_eth_rx_adapter.c eventdev: fix eth Rx adapter hotplug incompatibility 2018-10-01 16:47:56 +02:00
rte_event_eth_rx_adapter.h eventdev: fix eth Rx adapter hotplug incompatibility 2018-10-01 16:47:56 +02:00
rte_event_eth_tx_adapter.c eventdev: fix build 2018-10-10 21:40:40 +02:00
rte_event_eth_tx_adapter.h eventdev: add caps API and PMD callbacks for eth Tx adapter 2018-10-01 16:50:54 +02:00
rte_event_ring.c event: fix ring init failure handling 2018-08-05 14:52:19 +02:00
rte_event_ring.h eventdev: fix MP/MC tail updates in event ring 2018-04-16 10:10:27 +02:00
rte_event_timer_adapter_pmd.h eventdev: add timer adapter common code 2018-04-16 11:04:46 +02:00
rte_event_timer_adapter.c remove useless constructor headers 2018-07-12 00:00:35 +02:00
rte_event_timer_adapter.h eventdev: add default software timer adapter 2018-04-16 11:04:46 +02:00
rte_eventdev_pmd_pci.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd_vdev.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd.h eventdev: add caps API and PMD callbacks for eth Tx adapter 2018-10-01 16:50:54 +02:00
rte_eventdev_version.map eventdev: add eth Tx adapter implementation 2018-10-01 16:51:13 +02:00
rte_eventdev.c eventdev: fix port id argument in Rx adapter caps 2018-10-01 16:53:13 +02:00
rte_eventdev.h eventdev: fix port id argument in Rx adapter caps 2018-10-01 16:53:13 +02:00