numam-dpdk/lib/librte_eventdev
Andrzej Ostruszka 57e20572ac eventdev: fix possible use of uninitialized var
Fix the logic for the case of event queue allowing all schedule types.

Compiler warning pointing to this error (with LTO enabled):
error: ‘sched_type’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
  if ((ret < 0 && ret != -EOVERFLOW) ||

Fixes: 6750b21bd6 ("eventdev: add default software timer adapter")
Cc: stable@dpdk.org

Signed-off-by: Andrzej Ostruszka <aostruszka@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
2019-11-08 15:17:24 +01:00
..
Makefile eventdev: add Tx flag for packets with same destination 2019-10-18 10:03:08 +02:00
meson.build eventdev: add Tx flag for packets with same destination 2019-10-18 10:03:08 +02:00
rte_event_crypto_adapter.c eventdev: fix crypto adapter 2019-05-01 23:08:34 +02:00
rte_event_crypto_adapter.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
rte_event_eth_rx_adapter.c eventdev: change Rx adapter callback and stats structure 2019-07-03 06:55:39 +02:00
rte_event_eth_rx_adapter.h eventdev: change Rx adapter callback and stats structure 2019-07-03 06:55:39 +02:00
rte_event_eth_tx_adapter.c eventdev: promote adapter functions as stable 2019-04-22 13:20:33 +02:00
rte_event_eth_tx_adapter.h eventdev: add Tx flag for packets with same destination 2019-10-18 10:03:08 +02:00
rte_event_ring.c eal: add API to lock/unlock tailq list 2019-07-05 22:13:23 +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 eventdev: fix possible use of uninitialized var 2019-11-08 15:17:24 +01:00
rte_event_timer_adapter.h eventdev: promote adapter functions as stable 2019-04-22 13:20:33 +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 doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
rte_eventdev_version.map eventdev: change Rx adapter callback and stats structure 2019-07-03 06:55:39 +02:00
rte_eventdev.c eventdev: add Tx flag for packets with same destination 2019-10-18 10:03:08 +02:00
rte_eventdev.h eventdev: add Tx flag for packets with same destination 2019-10-18 10:03:08 +02:00