Ferruh Yigit a45962823d net/enic: fix build with gcc 7.1
build error:

.../dpdk/drivers/net/enic/base/vnic_dev.c:
  In function ‘vnic_dev_get_mac_addr’:
.../dpdk/drivers/net/enic/base/vnic_dev.c:470:12:
  error: ‘a0’ is used uninitialized in this function
  [-Werror=uninitialized]
  args[0] = *a0;
            ^~~
...dpdk/drivers/net/enic/base/vnic_dev.c:
  In function ‘vnic_dev_classifier’:
...dpdk/drivers/net/enic/base/vnic_dev.c:471:12:
  error: ‘a1’ may be used uninitialized in this function
  [-Werror=maybe-uninitialized]
  args[1] = *a1;
            ^~~
Fixed by providing initial values.

Fixes: 9913fbb91df0 ("enic/base: common code")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-06-14 22:54:31 +02:00
..
2015-09-30 01:19:19 +02:00
2016-06-24 18:28:09 +02:00
2015-09-30 01:19:19 +02:00
2016-06-15 17:13:56 +02:00
2017-06-14 22:54:31 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2016-07-05 15:36:23 +02:00
2016-06-15 17:13:56 +02:00
2015-09-30 01:19:19 +02:00