TencentOS-kernel/drivers/net/dsa
Pan Bian 8eee4b4462 net: dsa: bcm_sf2: put device node before return
commit cf3c46631e1637582f517a574c77cd6c05793817 upstream.

Put the device node dn before return error code on failure path.

Fixes: 461cd1b03e32 ("net: dsa: bcm_sf2: Register our slave MDIO bus")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210121123343.26330-1-bianpan2016@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-12 12:51:48 +08:00
..
b53 net: dsa: b53: fix an off by one in checking "vlan->vid" 2021-04-12 12:51:40 +08:00
microchip Revert "net: dsa: microchip: set the correct number of ports" 2021-03-16 16:35:38 +08:00
mv88e6xxx net: dsa: mv88e6xxx: also read STU state in mv88e6250_g1_vtu_getnext 2021-04-12 12:51:39 +08:00
sja1105 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Kconfig Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
bcm_sf2.c net: dsa: bcm_sf2: put device node before return 2021-04-12 12:51:48 +08:00
bcm_sf2.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
bcm_sf2_cfp.c net: dsa: bcm_sf2: Fix overflow checks 2021-03-16 16:26:40 +08:00
bcm_sf2_regs.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
dsa_loop.c net: dsa: loop: Add module soft dependency 2021-03-16 16:27:48 +08:00
dsa_loop.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
dsa_loop_bdinfo.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lan9303-core.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lan9303.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lan9303_i2c.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lan9303_mdio.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lantiq_gswip.c net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE 2021-04-12 12:51:16 +08:00
lantiq_pce.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
mt7530.c net: dsa: mt7530: fix advertising unsupported 1000baseT_Half 2021-03-16 16:35:32 +08:00
mt7530.h net: dsa: mt7530: set CPU port to fallback mode 2021-03-16 16:28:45 +08:00
mv88e6060.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
mv88e6060.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
qca8k.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
qca8k.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
realtek-smi-core.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
realtek-smi-core.h net: dsa: rtl8366: Refactor VLAN/PVID init 2021-03-16 16:38:39 +08:00
rtl8366.c net: dsa: rtl8366: Skip PVID setting if not requested 2021-03-16 16:38:40 +08:00
rtl8366rb.c net: dsa: rtl8366rb: Support all 4096 VLANs 2021-03-16 16:38:40 +08:00
vitesse-vsc73xx-core.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
vitesse-vsc73xx-platform.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
vitesse-vsc73xx-spi.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
vitesse-vsc73xx.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00