[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180918.200502.1787138156607502720.davem@redhat.com>
Date: Tue, 18 Sep 2018 20:05:02 -0700 (PDT)
From: David Miller <davem@...hat.com>
To: zhongjiang@...wei.com
Cc: michael.chan@...adcom.com, vasundhara-v.volam@...adcom.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCHv3] net: bnxt: Fix a uninitialized variable warning.
From: zhong jiang <zhongjiang@...wei.com>
Date: Tue, 18 Sep 2018 15:15:44 +0800
> 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>
Applied.
Powered by blists - more mailing lists