ena: fix build with icc
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Tue, 29 Mar 2016 12:43:53 +0000 (14:43 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 30 Mar 2016 17:22:17 +0000 (19:22 +0200)
commit23a707467f7f8b784ce00beaf2c8e0979c6a2e8e
tree3a661d6b7fe922d09e3810d0a9f7204205b549e0
parent6354f576d803316f68eeb658dcefc6949d95c24f
ena: fix build with icc

Fix for multiple compilation errors for ICC:
        error #188: enumerated type mixed with another type
        error #592: variable "flags" is used before its value is set

Fixes: 99ecfbf845b3 ("ena: import communication layer")

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
drivers/net/ena/base/ena_com.c
drivers/net/ena/base/ena_com.h
drivers/net/ena/base/ena_eth_com.c