Re: [PATCHv3] net: bnxt: Fix a uninitialized variable warning.
From: David Miller
Date: Tue Sep 18 2018 - 23:05:08 EST
From: zhong jiang <zhongjiang@xxxxxxxxxx>
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@xxxxxxxxxx>
Applied.