numam-dpdk/app/test-eventdev
Thomas Monjalon ff0633d2b1 app/eventdev: fix possible uninitialized variable
When compiling with -O1, this error can appear:
	app/test-eventdev/test_pipeline_common.c:332:6: error:
	‘ret’ may be used uninitialized in this function

If there is no device, then ret is returned without being initialized.
It is fixed by setting 0 as initial value.

Fixes: 032a965a8f ("app/eventdev: support Tx adapter")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2018-11-23 01:43:47 +01:00
..
evt_common.h app/eventdev: add service core configuration 2018-01-19 16:09:56 +01:00
evt_main.c app/eventdev: use proper teardown sequence 2018-07-25 14:29:55 +02:00
evt_options.c app/eventdev: fix typos in timer adapter options 2018-04-16 18:06:27 +02:00
evt_options.h ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
evt_test.c app: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
evt_test.h remove useless constructor headers 2018-07-12 00:00:35 +02:00
Makefile mk: add experimental tag check 2018-01-29 23:35:29 +01:00
meson.build app: generalize meson build 2018-03-12 16:29:27 +01:00
parser.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
parser.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
test_order_atq.c app/eventdev: fix order test service init 2018-07-25 14:28:25 +02:00
test_order_common.c app: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
test_order_common.h app: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
test_order_queue.c app/eventdev: fix order test service init 2018-07-25 14:28:25 +02:00
test_perf_atq.c ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
test_perf_common.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
test_perf_common.h app/eventdev: add event timer adapter as a producer 2018-04-16 11:11:06 +02:00
test_perf_queue.c ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
test_pipeline_atq.c app/eventdev: support Tx adapter 2018-10-01 16:54:00 +02:00
test_pipeline_common.c app/eventdev: fix possible uninitialized variable 2018-11-23 01:43:47 +01:00
test_pipeline_common.h app/eventdev: support Tx adapter 2018-10-01 16:54:00 +02:00
test_pipeline_queue.c app/eventdev: support Tx adapter 2018-10-01 16:54:00 +02:00