linux_dsm_epyc7002/drivers/net/dsa
Geert Uytterhoeven c3ffe6d2c9 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>
2015-04-16 15:33:55 -04:00
..
bcm_sf2_regs.h net: dsa: bcm_sf2: add HW bridging support 2015-02-25 17:03:38 -05:00
bcm_sf2.c net: dsa: bcm_sf2: add HW bridging support 2015-02-25 17:03:38 -05:00
bcm_sf2.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-03-03 21:16:48 -05:00
Kconfig dsa: change "select" to "depends on" for NET_SWITCHDEV and for NET_DSA 2015-03-16 16:29:18 -04:00
Makefile net: dsa: Add support for Marvell 88E6352 2014-10-30 14:54:10 -04:00
mv88e6xxx.c net: dsa: mv88e6xxx: Add missing initialization in mv88e6xxx_set_port_state() 2015-04-16 15:33:55 -04:00
mv88e6xxx.h net: dsa: Use mnemonics rather than register numbers 2015-04-01 22:55:41 -04:00
mv88e6060.c net: dsa: Report known silicon revisions for Marvell 88E6060 2014-10-30 14:54:10 -04:00
mv88e6123_61_65.c net: dsa: Use mnemonics rather than register numbers 2015-04-01 22:55:41 -04:00
mv88e6131.c net: dsa: Use mnemonics rather than register numbers 2015-04-01 22:55:41 -04:00
mv88e6171.c net: dsa: Use mnemonics rather than register numbers 2015-04-01 22:55:41 -04:00
mv88e6352.c net: dsa: Use mnemonics rather than register numbers 2015-04-01 22:55:41 -04:00