summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_diag.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-04-16 21:49:14 +0300
committerDavid S. Miller <davem@davemloft.net>2015-04-16 22:33:55 +0300
commitc3ffe6d2c9733729307799a60e1ae09a9878e697 (patch)
tree7496e4cc824fcfb64270a751a2fb91b07fca74ff /net/ipv4/tcp_diag.c
parent213dd74aee765d4e5f3f4b9607fef0cf97faa2af (diff)
downloadlinux-c3ffe6d2c9733729307799a60e1ae09a9878e697.tar.xz
net: dsa: mv88e6xxx: Add missing initialization in mv88e6xxx_set_port_state()
drivers/net/dsa/mv88e6xxx.c: In function ‘mv88e6xxx_set_port_state’: drivers/net/dsa/mv88e6xxx.c:905: warning: ‘ret’ may be used uninitialized in this function If oldstate == state, mv88e6xxx_set_port_state() will return an uninitialized value. Pre-initialize ret to zero to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_diag.c')
0 files changed, 0 insertions, 0 deletions