From patchwork Tue Jun 25 23:11:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasesh Mody X-Patchwork-Id: 55379 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4DE695424; Wed, 26 Jun 2019 01:11:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 074354F91 for ; Wed, 26 Jun 2019 01:11:55 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5PN8MOL008613; Tue, 25 Jun 2019 16:11:54 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=PZC2a9svvSUPvhc7LP8gMHWbEan01qmDfrhGRRdK4Oc=; b=OjAX5MXEVwPmrAk0BYTlasMfirMj0TWihN7dZ8d18bhl2KVgVNYMiJ5Byg98N72QC/2W CZqkH1PmHdwVvWmgQzHiR/0dDr64koVHyzHOzltxzU+IDS2ALUbvLZaSYIrj/fd3ESkc OIcVd7oW9FEbDpsgnWTLt+L8laP9r+x4jbTs9DPRlQK6muU23AvrS7+F8Jq6i8Z1O0ei ZN5t7J3NFuMJ5ycQkblWIrYe0n5lCDxm2pa97xT/fPDmtl/s1X9GfGCp0bZ+OePewBcC QyvNQeP801MVQrbLqMd/UvXnOaRAn9SZdMkEMdZMWRmFYGgJQxfcleypVh0jewwL7Kr7 pg== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2tbpmnhq9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 25 Jun 2019 16:11:54 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 25 Jun 2019 16:11:53 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 25 Jun 2019 16:11:53 -0700 Received: from irv1user08.caveonetworks.com (unknown [10.104.116.105]) by maili.marvell.com (Postfix) with ESMTP id B77173F703F; Tue, 25 Jun 2019 16:11:52 -0700 (PDT) Received: (from rmody@localhost) by irv1user08.caveonetworks.com (8.14.4/8.14.4/Submit) id x5PNBpk5001366; Tue, 25 Jun 2019 16:11:51 -0700 X-Authentication-Warning: irv1user08.caveonetworks.com: rmody set sender to rmody@marvell.com using -f From: Rasesh Mody To: CC: Rasesh Mody , , , Date: Tue, 25 Jun 2019 16:11:00 -0700 Message-ID: <1561504260-1264-1-git-send-email-rmody@marvell.com> X-Mailer: git-send-email 1.7.10.3 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-25_15:, , signatures=0 Subject: [dpdk-dev] [PATCH] net/bnx2x: fix build error with icc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fix a compilation issue seen with icc 19 Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/elink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2x/elink.c b/drivers/net/bnx2x/elink.c index d569366..b65126d 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 */