[dpdk-dev] [PATCH] net/bnx2x: fix icc build error

2016-10-19 Thread Bruce Richardson
On Mon, Oct 17, 2016 at 06:04:32PM +, Mody, Rasesh wrote: > > From: Ferruh Yigit [mailto:ferruh.yigit at intel.com] > > Sent: Monday, October 17, 2016 5:12 AM > > > > On 9/30/2016 3:45 PM, Ferruh Yigit wrote: > > > When bnx2x debug config enabled, icc (ICC) 17.0.0 20160721 gives the > > > foll

[dpdk-dev] [PATCH] net/bnx2x: fix icc build error

2016-10-17 Thread Mody, Rasesh
> From: Ferruh Yigit [mailto:ferruh.yigit at intel.com] > Sent: Monday, October 17, 2016 5:12 AM > > On 9/30/2016 3:45 PM, Ferruh Yigit wrote: > > When bnx2x debug config enabled, icc (ICC) 17.0.0 20160721 gives the > > following compilation error: > > > > .../drivers/net/bnx2x/elink.c(6682): > >

[dpdk-dev] [PATCH] net/bnx2x: fix icc build error

2016-10-17 Thread Ferruh Yigit
On 9/30/2016 3:45 PM, Ferruh Yigit wrote: > 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, > ^ > > A

[dpdk-dev] [PATCH] net/bnx2x: fix icc build error

2016-09-30 Thread Ferruh Yigit
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 positi