Go to file
Jerin Jacob 62a0e941b5 examples/vhost: fix uninitialized descriptor indexes
Fixing the below error by returning from the function early
when count == 0.

Issue flagged by GCC 7.1.1

examples/vhost/virtio_net.c:370:38: error: ‘desc_indexes[0]’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
  rte_prefetch0(&vr->desc[desc_indexes[0]]);

Fixes: ca059fa5e2 ("examples/vhost: demonstrate the new generic APIs")
Cc: stable@dpdk.org

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2017-06-05 14:28:32 +02:00
app app/testpmd: remove duplicated license 2017-06-04 13:18:06 +02:00
buildtools
config config: fix comment 2017-06-04 13:18:06 +02:00
devtools vhost: fix header for strict compilation flags 2017-05-01 00:13:15 +02:00
doc doc: change line length limit in contributors guide 2017-06-04 13:18:06 +02:00
drivers net/mlx5: fix rollback when starting device 2017-05-10 21:41:25 +02:00
examples examples/vhost: fix uninitialized descriptor indexes 2017-06-05 14:28:32 +02:00
lib eal: remove duplicated license 2017-06-04 13:18:06 +02:00
mk mk: adjust gcc flags for new gcc 7 warnings 2017-05-05 18:26:56 +02:00
pkg version: 17.05.0 2017-05-11 03:11:34 +02:00
test test/eventdev: fix build with gcc 7 2017-05-05 18:36:55 +02:00
usertools usertools: add Cavium pkx as network device 2017-05-07 14:32:17 +02:00
.gitattributes
.gitignore
GNUmakefile
LICENSE.GPL
LICENSE.LGPL
MAINTAINERS maintainers: update email address 2017-06-02 16:37:29 +02:00
Makefile
README

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org