commit | 65fac4fe9080714df80d430888834ce87c6716ba | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Tue Sep 18 15:15:44 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 18 20:04:40 2018 -0700 |
tree | e530c70ab22f43123fa64840bec4bf951d77d82c | |
parent | 6344244c71fdb797853ad5d0b9a076b911fa18a4 [diff] |
net: bnxt: Fix a uninitialized variable warning. 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> Signed-off-by: David S. Miller <davem@davemloft.net>