From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8CD2AA0613 for ; Wed, 28 Aug 2019 15:43:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7BDF01BF82; Wed, 28 Aug 2019 15:43:25 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id E58661C229 for ; Wed, 28 Aug 2019 15:43:23 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3B27320260; Wed, 28 Aug 2019 13:43:23 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-52.ams2.redhat.com [10.36.117.52]) by smtp.corp.redhat.com (Postfix) with ESMTP id 368204116; Wed, 28 Aug 2019 13:43:22 +0000 (UTC) From: Kevin Traynor To: Ajit Khaparde Cc: Rahul Gupta , dpdk stable Date: Wed, 28 Aug 2019 14:42:05 +0100 Message-Id: <20190828134234.20547-29-ktraynor@redhat.com> In-Reply-To: <20190828134234.20547-1-ktraynor@redhat.com> References: <20190828134234.20547-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 28 Aug 2019 13:43:23 +0000 (UTC) Subject: [dpdk-stable] patch 'net/bnxt: fix compiler warning' has been queued to LTS release 18.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 09/04/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/b6f30413487b41acee99031fa5b2de640ead5b1f Thanks. Kevin Traynor --- >From b6f30413487b41acee99031fa5b2de640ead5b1f Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Wed, 17 Jul 2019 16:11:37 +0530 Subject: [PATCH] net/bnxt: fix compiler warning [ upstream commit f1a24472930b7325eb8ea2f4d05c48ff81ea06e2 ] Compiler complains of an uninitialized variable. Initializing it to avoid the issue. Fixes: db678d5c2b54 ("net/bnxt: add HWRM VNIC configure") Signed-off-by: Ajit Khaparde Reviewed-by: Rahul Gupta --- drivers/net/bnxt/bnxt_hwrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index 53c31baf4..5abd2aba6 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -1416,6 +1416,6 @@ int bnxt_hwrm_vnic_cfg(struct bnxt *bp, struct bnxt_vnic_info *vnic) struct hwrm_vnic_cfg_input req = {.req_type = 0 }; struct hwrm_vnic_cfg_output *resp = bp->hwrm_cmd_resp_addr; + struct bnxt_plcmodes_cfg pmodes = { 0 }; uint32_t ctx_enable_flag = 0; - struct bnxt_plcmodes_cfg pmodes; if (vnic->fw_vnic_id == INVALID_HW_RING_ID) { -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-08-28 14:32:33.515359857 +0100 +++ 0030-net-bnxt-fix-compiler-warning.patch 2019-08-28 14:32:31.653957092 +0100 @@ -1 +1 @@ -From f1a24472930b7325eb8ea2f4d05c48ff81ea06e2 Mon Sep 17 00:00:00 2001 +From b6f30413487b41acee99031fa5b2de640ead5b1f Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f1a24472930b7325eb8ea2f4d05c48ff81ea06e2 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 1a0265f8a..a4e0c2e0c 100644 +index 53c31baf4..5abd2aba6 100644 @@ -22 +23 @@ -@@ -1524,6 +1524,6 @@ int bnxt_hwrm_vnic_cfg(struct bnxt *bp, struct bnxt_vnic_info *vnic) +@@ -1416,6 +1416,6 @@ int bnxt_hwrm_vnic_cfg(struct bnxt *bp, struct bnxt_vnic_info *vnic) @@ -28 +28,0 @@ - uint32_t enables = 0; @@ -29,0 +30 @@ + if (vnic->fw_vnic_id == INVALID_HW_RING_ID) {