Go to file
Pablo de Lara 1befe9ca24 examples/vhost: fix strict aliasing
Fixes following error on gcc 4.4.7:

examples/vhost/main.c: In function ‘new_device’:
rte_ring.h:740: error:
    dereferencing pointer ‘mbuf.486’ does break strict-aliasing rules
examples/vhost/main.c:1503: note: initialized from here
...
rte_ring.h:740: error:
    dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules
examples/vhost/main.c:1804: note: initialized from here

Fixes: d19533e8 ("examples/vhost: copy old vhost example")

Reported-by: Qian Xu <qian.q.xu@intel.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
2015-12-09 22:02:33 +01:00
app replace bzero with memset 2015-12-07 04:57:16 +01:00
config nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00
doc nfp: add guide 2015-12-08 03:00:42 +01:00
drivers virtio: fix wrong queue index 2015-12-09 22:02:33 +01:00
examples examples/vhost: fix strict aliasing 2015-12-09 22:02:33 +01:00
lib vhost: do not stall if guest is slow 2015-12-09 22:02:33 +01:00
mk mk: fix install with minimal shell 2015-12-09 09:39:56 +01:00
pkg pkg: update RPM with standard install 2015-12-06 15:41:05 +01:00
scripts nfp: introduce driver initialization 2015-12-08 03:00:42 +01:00
tools mk: remove multi-target install 2015-12-06 15:41:04 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS nfp: add guide 2015-12-08 03:00:42 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00