Re: [PATCHv3] net: bnxt: Fix a uninitialized variable warning.
From: Michael Chan
Date: Tue Sep 18 2018 - 12:32:41 EST
On Tue, Sep 18, 2018 at 12:15 AM, zhong jiang <zhongjiang@xxxxxxxxxx> 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@xxxxxxxxxx>
Acked-by: Michael Chan <michael.chan@xxxxxxxxxxxx>