linux/drivers/net/dsa
Chris Packham 0fd5d79efa net: dsa: mv88e6xxx: Handle error in serdes_get_regs
If the underlying read operation failed we would end up writing stale
data to the supplied buffer. This would end up with the last
successfully read value repeating. Fix this by only writing the data
when we know the read was good. This will mean that failed values will
return 0xffff.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-25 17:58:06 -08:00
..
b53
hirschmann net: dsa: hellcreek: Don't print error message on defer 2020-11-23 16:57:21 -08:00
microchip net: dsa: microchip: ksz8795: setup SPI mode 2020-11-25 17:53:45 -08:00
mv88e6xxx net: dsa: mv88e6xxx: Handle error in serdes_get_regs 2020-11-25 17:58:06 -08:00
ocelot net: dsa: felix: improve the workaround for multiple native VLANs on NPI port 2020-11-02 17:09:07 -08:00
qca
sja1105
bcm_sf2.c net: dsa: bcm_sf2: make const array static, makes object smaller 2020-10-20 20:57:57 -07:00
bcm_sf2.h
bcm_sf2_cfp.c
bcm_sf2_regs.h
dsa_loop.c
dsa_loop.h
dsa_loop_bdinfo.c
Kconfig net: dsa: Add DSA driver for Hirschmann Hellcreek switches 2020-11-05 14:04:49 -08:00
lan9303-core.c
lan9303.h
lan9303_i2c.c
lan9303_mdio.c
lantiq_gswip.c net: lantiq: Wait for the GPHY firmware to be ready 2020-11-16 13:38:18 -08:00
lantiq_pce.h
Makefile net: dsa: Add DSA driver for Hirschmann Hellcreek switches 2020-11-05 14:04:49 -08:00
mt7530.c net: dsa: mt7530: support setting MTU 2020-11-04 16:48:11 -08:00
mt7530.h net: dsa: mt7530: support setting MTU 2020-11-04 16:48:11 -08:00
mv88e6060.c
mv88e6060.h
qca8k.c net: dsa: qca8k: Fix port MTU setting 2020-11-02 15:14:59 -08:00
qca8k.h
realtek-smi-core.c
realtek-smi-core.h
rtl8366.c
rtl8366rb.c
vitesse-vsc73xx-core.c
vitesse-vsc73xx-platform.c
vitesse-vsc73xx-spi.c
vitesse-vsc73xx.h