35050da740
When bnx2x debug config enabled, icc (ICC) 17.0.0 20160721 gives the following compilation error: .../drivers/net/bnx2x/elink.c(6682): error #3656: variable "fw_ver1" may be used before its value is set PMD_DRV_LOG(DEBUG, ^ According logic in the code, this error is a false positive, but since this is not in the fast path, fixing compiler error by assigning initial value to variable. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Rasesh Mody <rasesh.mody@qlogic.com> |
||
---|---|---|
.. | ||
bnx2x_ethdev.c | ||
bnx2x_ethdev.h | ||
bnx2x_logs.h | ||
bnx2x_rxtx.c | ||
bnx2x_rxtx.h | ||
bnx2x_stats.c | ||
bnx2x_stats.h | ||
bnx2x_vfpf.c | ||
bnx2x_vfpf.h | ||
bnx2x.c | ||
bnx2x.h | ||
ecore_fw_defs.h | ||
ecore_hsi.h | ||
ecore_init_ops.h | ||
ecore_init.h | ||
ecore_mfw_req.h | ||
ecore_reg.h | ||
ecore_sp.c | ||
ecore_sp.h | ||
elink.c | ||
elink.h | ||
LICENSE.bnx2x_pmd | ||
Makefile | ||
rte_pmd_bnx2x_version.map |