numam-dpdk/lib/librte_mbuf
Cyril Chemparathy 7755baae83 mbuf: silence warning on pointer arithmetic
Translating from an mbuf element to the mbuf pointer does not break alignment
constraints.  However, the compiler is unaware of this fact and complains on
-Wcast-align.  This patch modifies the code to use RTE_PTR_SUB(), thereby
silencing the compiler by casting through (void *).

Signed-off-by: Cyril Chemparathy <cchemparathy@ezchip.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2015-06-24 12:00:41 +02:00
..
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_mbuf_version.map mbuf: fix indent in version map 2015-06-23 23:31:15 +02:00
rte_mbuf.c mbuf: fix cloning with private mbuf data 2015-04-28 11:34:10 +02:00
rte_mbuf.h mbuf: silence warning on pointer arithmetic 2015-06-24 12:00:41 +02:00