summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRahul Verma <Rahul.Verma@cavium.com>2018-10-23 18:04:24 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-23 21:04:44 +0300
commit68203a67a7024c5d0b8e545d3d370b1fec971551 (patch)
treed628b43e82b799f5b48ee803fb3333bdc19d0d3f /lib
parent5ef79151c2fbc401cf38325e9a32e77b9fc593ae (diff)
downloadlinux-68203a67a7024c5d0b8e545d3d370b1fec971551.tar.xz
qed: Fix static checker warning
Static Checker Warnings: drivers/net/ethernet/qlogic/qed/qed_main.c:1510 qed_fill_link_capability() error: uninitialized symbol 'tcvr_state'. drivers/net/ethernet/qlogic/qed/qed_mcp.c:1951 qed_mcp_trans_speed_mask() error: uninitialized symbol 'transceiver_state'. drivers/net/ethernet/qlogic/qed/qed_mcp.c:1951 qed_mcp_trans_speed_mask() error: uninitialized symbol 'transceiver_type'. Symbols tcvr_state, transceiver_state and transceiver_type are initialized with respective default state. Fixes: c56a8be7e7aa ("qed: Add supported link and advertise link to display in ethtool.") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rahul Verma <Rahul.Verma@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions