Thomas Monjalon
6b8d9a4b4c
eventdev: fix possible uninitialized variable
...
When compiling with -O1, this error can appear:
lib/librte_eventdev/rte_event_eth_tx_adapter.c:705:6: error:
‘ret’ may be used uninitialized in this function
If tx_queue_id is -1 and nb_queues is 0, then ret is returned
without being initialized.
It is fixed by setting 0 as initial value.
Fixes: a3bbf2e09756 ("eventdev: add eth Tx adapter implementation")
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2018-11-23 01:43:42 +01:00
..
2018-11-06 01:14:05 +01:00
2018-07-12 00:00:35 +02:00
2018-07-26 20:07:57 +02:00
2018-11-13 23:18:53 +01:00
2018-01-30 21:58:59 +01:00
2018-10-26 22:14:06 +02:00
2018-07-26 22:45:17 +02:00
2018-11-02 12:25:39 +01:00
2018-10-29 02:34:27 +01:00
2018-01-30 21:59:00 +01:00
2018-11-23 01:43:32 +01:00
2018-11-18 15:46:02 +01:00
2018-11-14 00:35:53 +01:00
2018-11-23 01:43:42 +01:00
2018-10-11 10:37:45 +02:00
2018-01-30 21:58:59 +01:00
2018-07-11 23:45:20 +02:00
2018-11-14 01:02:07 +01:00
2018-11-06 01:58:11 +01:00
2018-01-30 21:58:59 +01:00
2018-11-23 01:43:35 +01:00
2018-10-26 22:14:06 +02:00
2018-10-25 10:30:13 +02:00
2018-09-19 17:11:37 +02:00
2018-10-26 22:14:05 +02:00
2018-07-12 00:00:35 +02:00
2018-10-11 11:11:25 +02:00
2018-08-06 01:15:11 +02:00
2018-07-26 20:30:18 +02:00
2018-11-06 01:14:05 +01:00
2018-11-13 17:59:42 +01:00
2018-10-22 11:28:27 +02:00
2018-11-12 17:45:23 +01:00
2018-10-12 19:33:02 +02:00
2018-10-26 14:51:36 +02:00
2018-10-29 02:34:27 +01:00
2018-01-30 21:58:59 +01:00
2018-11-13 17:00:58 +01:00
2018-10-22 11:28:27 +02:00
2018-11-18 22:31:30 +01:00
2018-10-12 17:58:53 +02:00
2018-10-27 15:21:33 +02:00
2018-04-26 16:58:18 +02:00
2018-11-14 00:35:53 +01:00
2018-10-27 15:18:20 +02:00
2018-10-27 23:22:12 +02:00