numam-dpdk/lib/librte_pmd_enic/vnic
Helin Zhang 77f127bcda enic: fix build with gcc 4.7.2
Compile warnings/errors was found on gcc 4.7.2 as follows. Variables
was reported of being used but uninitialized. Assigning an initial
value to it is needed.

lib/librte_pmd_enic/vnic/vnic_dev.c: In function vnic_dev_get_mac_addr:
lib/librte_pmd_enic/vnic/vnic_dev.c:393:16: error: a1 may be used uninitialized
	in this function [-Werror=uninitialized]
lib/librte_pmd_enic/vnic/vnic_dev.c:629:10: note: a1 was declared here
lib/librte_pmd_enic/vnic/vnic_dev.c: In function vnic_dev_set_mac_addr:
lib/librte_pmd_enic/vnic/vnic_dev.c:393:16: error: a1 may be used uninitialized
	in this function [-Werror=uninitialized]
lib/librte_pmd_enic/vnic/vnic_dev.c:980:10: note: a1 was declared here

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-12-11 01:42:03 +01:00
..
cq_desc.h enic/base: common code 2014-11-26 23:07:11 +01:00
cq_enet_desc.h enic/base: common code 2014-11-26 23:07:11 +01:00
rq_enet_desc.h enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_cq.c enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_cq.h enic: fix warnings 2014-12-04 13:04:24 +01:00
vnic_dev.c enic: fix build with gcc 4.7.2 2014-12-11 01:42:03 +01:00
vnic_dev.h enic: fix warnings 2014-12-04 13:04:24 +01:00
vnic_devcmd.h enic: fix build by using standard integer types 2014-11-28 16:59:21 +01:00
vnic_enet.h enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_intr.c enic: fix warnings 2014-12-04 13:04:24 +01:00
vnic_intr.h enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_nic.h enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_resource.h enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_rq.c enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_rq.h enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_rss.c enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_rss.h enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_stats.h enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_wq.c enic/base: common code 2014-11-26 23:07:11 +01:00
vnic_wq.h enic/base: common code 2014-11-26 23:07:11 +01:00
wq_enet_desc.h enic/base: common code 2014-11-26 23:07:11 +01:00