net/bnx2x: fix icc build
authorRasesh Mody <rmody@marvell.com>
Tue, 25 Jun 2019 23:11:00 +0000 (16:11 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 26 Jun 2019 07:14:24 +0000 (09:14 +0200)
Fix a compilation issue seen with icc 19

Signed-off-by: Rasesh Mody <rmody@marvell.com>
drivers/net/bnx2x/elink.c

index d569366..b65126d 100644 (file)
@@ -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  */