WSL2-Linux-Kernel/drivers/net/mdio
Christophe JAILLET b614567e0d net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe()
[ Upstream commit 27c1eaa072 ]

Should of_mdiobus_register() fail, a previous usb_get_dev() call should be
undone as in the .disconnect function.

Fixes: 04e37d92fb ("net: phy: add marvell usb to mdio controller")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-24 17:36:41 +01:00
..
Kconfig
Makefile
acpi_mdio.c net: mdio: fix owner field for mdio buses registered using ACPI 2023-03-30 12:47:46 +02:00
fwnode_mdio.c net: mdiobus: fix double put fwnode in the error path 2022-12-14 11:37:26 +01:00
mdio-aspeed.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c
mdio-i2c.c
mdio-ipq4019.c net: mdio-ipq4019: add delay after clock enable 2022-03-02 11:47:58 +01:00
mdio-ipq8064.c
mdio-moxart.c
mdio-mscc-miim.c net: phy: mscc-miim: reject clause 45 register accesses 2022-04-13 20:59:19 +02:00
mdio-mux-bcm-iproc.c
mdio-mux-bcm6368.c net: mdio: Fix ENOMEM return value in BCM6368 mux bus controller 2022-05-12 12:30:16 +02:00
mdio-mux-gpio.c
mdio-mux-meson-g12a.c net: mdio-mux-meson-g12a: force internal PHY off on mux switch 2023-02-01 08:27:29 +01:00
mdio-mux-mmioreg.c
mdio-mux-multiplexer.c
mdio-mux.c
mdio-mvusb.c net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe() 2023-05-24 17:36:41 +01:00
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c net: mdio: thunder: Add missing fwnode_handle_put() 2023-03-30 12:47:50 +02:00
mdio-xgene.c
of_mdio.c net: mdio: fix owner field for mdio buses registered using device-tree 2023-03-30 12:47:46 +02:00