Skip to contentSkip to conversation

net/bnx2x: fix build error with icc

PATCH Applied Rasesh Mody 2 participants 2 messages Jun 25, 2019 – Jun 26, 2019 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/bnx2x: fix build error with icc

Fix a compilation issue seen with icc 19

---
 drivers/net/bnx2x/elink.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/bnx2x/elink.c +1 -1
index d569366..b65126d 100644
@@ -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  */
Signature · 1 line
1.7.10.3