From: Michael Chan <michael.chan@broadcom.com>
To: zhong jiang <zhongjiang@huawei.com>
Cc: David Miller <davem@davemloft.net>,
Vasundhara Volam <vasundhara-v.volam@broadcom.com>,
Netdev <netdev@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCHv3] net: bnxt: Fix a uninitialized variable warning.
Date: Tue, 18 Sep 2018 09:32:36 -0700 [thread overview]
Message-ID: <CACKFLika_ViVL8ScmKZbb_2XM_s-WPpstLDd9O54YNXHFoxGMQ@mail.gmail.com> (raw)
In-Reply-To: <1537254944-41068-1-git-send-email-zhongjiang@huawei.com>
On Tue, Sep 18, 2018 at 12:15 AM, zhong jiang <zhongjiang@huawei.com> wrote:
> Fix the following compile warning:
>
> drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:49:5: warning: ‘nvm_param.dir_type’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> if (nvm_param.dir_type == BNXT_NVM_PORT_CFG)
>
> Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
next prev parent reply other threads:[~2018-09-18 16:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-18 7:15 [PATCHv3] net: bnxt: Fix a uninitialized variable warning zhong jiang
2018-09-18 16:32 ` Michael Chan [this message]
2018-09-19 3:05 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACKFLika_ViVL8ScmKZbb_2XM_s-WPpstLDd9O54YNXHFoxGMQ@mail.gmail.com \
--to=michael.chan@broadcom.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vasundhara-v.volam@broadcom.com \
--cc=zhongjiang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox