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 4870DA00E6 for ; Fri, 12 Jul 2019 15:50:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 044FD1B9A5; Fri, 12 Jul 2019 15:50:06 +0200 (CEST) Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by dpdk.org (Postfix) with ESMTP id C73DC4C8E for ; Fri, 12 Jul 2019 15:50:04 +0200 (CEST) Received: by mail-ot1-f65.google.com with SMTP id z23so9474759ote.13 for ; Fri, 12 Jul 2019 06:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:mime-version:references:in-reply-to:date:message-id:subject:to; bh=HGB9kwE5YL/4ZQrCYMwuNT4BfoolvzvT2XctZiGkgCE=; b=XDz6eMyef7Yxu8RpXSnAB6UjzWGXkRnqx4ByaWYZ2kJF82NDVGc/nbUQqXJ4myvOA0 u6H+3uCv8q4F8HHLSk682nLUshTf5P3JAgHrnl4cd0jVdLM8+yMjB0Q8JwG+hLs5ez24 ixqcxz0XFTpyM/s32iKHsi4FsNkG31HG7EML8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:references:in-reply-to:date :message-id:subject:to; bh=HGB9kwE5YL/4ZQrCYMwuNT4BfoolvzvT2XctZiGkgCE=; b=gEpHxj1ckPV/nuQMcgGMEIGK1cmEVVWrV1nxvewZJucYKL4Ud9phumNTZ5qhp03MlX 1MBPJ224ZO4/DF3VVRsRyy/Du+ox/4Yu/y7rxLPHimmlJhAeVOQExVl3OCZ7iPuIeWOP W8UMDCH3P6iqxPsg+ftpr/ecGjK1p7R0oAGM2UDVdWGWK7aPXChBugqvx5xp+4dy7Icp oDJfSU7nhplqKnPgE8KS6Z5iBzy+5ukEkteA6Cu/FXczUE/yb6ZDHkjUoi1bqgoSFAuS cv5lWm69vUpNpxVmQPlwwUK8MTwjO67umqPuHRlGZHkYp0zVtUKqheYBmSPvxrszpox6 IKTQ== X-Gm-Message-State: APjAAAW2LE0gu3zafaBhjyRFfymJAt112mOuXR7yNM8jhpo+9kq+Bac3 19eoOQP1RsiJqT3+7EqcP/VVHHR2pujpKuFu/apSwORoRYA= X-Google-Smtp-Source: APXvYqwMK7zicm3k1ybjUXwx2gwBx4In2KvlNCr2mTzz9dTvcwGNudbpaNtdcsliMyLqR84LQhRbdLM2bhLaF21SEzM= X-Received: by 2002:a9d:554b:: with SMTP id h11mr701871oti.154.1562939403902; Fri, 12 Jul 2019 06:50:03 -0700 (PDT) Received: from unknown named unknown by gmailapi.google.com with HTTPREST; Fri, 12 Jul 2019 06:50:03 -0700 From: Ajit Kumar Khaparde Mime-Version: 1.0 (1.0) References: <20190712060622.76975-1-ajit.khaparde@broadcom.com> <20190712060622.76975-14-ajit.khaparde@broadcom.com> In-Reply-To: <20190712060622.76975-14-ajit.khaparde@broadcom.com> Date: Fri, 12 Jul 2019 06:50:03 -0700 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 13/15] net/bnxt: fix a compilation warning 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" No worries. I will get to it. >From mobile device > On Jul 12, 2019, at 11:36, Ajit Khaparde wrote: > > 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 1a0265f8a..a4e0c2e0c 100644 > --- a/drivers/net/bnxt/bnxt_hwrm.c > +++ b/drivers/net/bnxt/bnxt_hwrm.c > @@ -1523,8 +1523,8 @@ int bnxt_hwrm_vnic_cfg(struct bnxt *bp, struct bnxt_vnic_info *vnic) > int rc = 0; > 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; > uint32_t enables = 0; > > if (vnic->fw_vnic_id == INVALID_HW_RING_ID) { > -- > 2.20.1 (Apple Git-117) >