[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLika_ViVL8ScmKZbb_2XM_s-WPpstLDd9O54YNXHFoxGMQ@mail.gmail.com>
Date: Tue, 18 Sep 2018 09:32:36 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: zhong jiang <zhongjiang@...wei.com>
Cc: David Miller <davem@...emloft.net>,
Vasundhara Volam <vasundhara-v.volam@...adcom.com>,
Netdev <netdev@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCHv3] net: bnxt: Fix a uninitialized variable warning.
On Tue, Sep 18, 2018 at 12:15 AM, zhong jiang <zhongjiang@...wei.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@...wei.com>
Acked-by: Michael Chan <michael.chan@...adcom.com>
Powered by blists - more mailing lists