From: Rasesh Mody Date: Tue, 25 Jun 2019 23:11:00 +0000 (-0700) Subject: net/bnx2x: fix icc build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=fabeca044ffc0233d7f072233001c19b300a0f81;p=dpdk.git net/bnx2x: fix icc build Fix a compilation issue seen with icc 19 Signed-off-by: Rasesh Mody --- diff --git a/drivers/net/bnx2x/elink.c b/drivers/net/bnx2x/elink.c index d56936683f..b65126d718 100644 --- a/drivers/net/bnx2x/elink.c +++ b/drivers/net/bnx2x/elink.c @@ -8097,7 +8097,7 @@ static elink_status_t elink_8073_8727_external_rom_boot(struct bnx2x_softc *sc, uint8_t port) { uint32_t count = 0; - uint16_t fw_ver1, fw_msgout; + uint16_t fw_ver1 = 0, fw_msgout; elink_status_t rc = ELINK_STATUS_OK; /* Boot port from external ROM */