numam-dpdk/drivers/net/null
Bruce Richardson b34141b284 null: fix build with gcc 5.1
On Fedora 22, with GCC 5.1, errors are reported due to array accesses
being potentially out of bounds. This commit fixes this by adding in an
extra bounds check to the loop counters, or, in the case of stats reset,
by blindly zeroing the whole array, rather than just the part that is in
use.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
2015-06-02 18:24:28 +02:00
..
Makefile null: move to drivers/net/ 2015-05-22 16:06:22 +02:00
rte_eth_null.c null: fix build with gcc 5.1 2015-06-02 18:24:28 +02:00
rte_pmd_null_version.map null: move to drivers/net/ 2015-05-22 16:06:22 +02:00