diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-18 15:15:44 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-18 20:04:40 -0700 |
commit | 65fac4fe9080714df80d430888834ce87c6716ba (patch) | |
tree | e530c70ab22f43123fa64840bec4bf951d77d82c /crypto/compress.c | |
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>
Diffstat (limited to 'crypto/compress.c')
0 files changed, 0 insertions, 0 deletions