numam-dpdk/drivers/net/ena
Ferruh Yigit 5fe8c8a2ba ena: fix build with icc
With (ICC) 16.0.2 20160204, getting following warnings:

.../drivers/net/ena/base/ena_com.c(492): error #3656: variable
 "flags" may be used before its value is set
 ENA_SPINLOCK_LOCK(admin_queue->q_lock, flags);

.../drivers/net/ena/base/ena_com.c(1971): error #3656: variable
 "mem_handle" may be used before its value is set
 ENA_MEM_ALLOC_COHERENT(ena_dev->dmadev, len,

For both warnings the variable value is ignored, so there is no defect.
To comfort compiler warning, a initial value provided to variables.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2016-04-06 15:49:17 +02:00
..
base ena: fix build with icc 2016-04-06 15:49:17 +02:00
ena_ethdev.c ethdev: add 100G link speed 2016-04-01 21:38:34 +02:00
ena_ethdev.h ena: add polling-mode driver 2016-03-25 18:56:43 +01:00
ena_logs.h ena: add polling-mode driver 2016-03-25 18:56:43 +01:00
ena_platform.h ena: add polling-mode driver 2016-03-25 18:56:43 +01:00
Makefile ena: add polling-mode driver 2016-03-25 18:56:43 +01:00
rte_pmd_ena_version.map ena: add polling-mode driver 2016-03-25 18:56:43 +01:00