Messages in this thread | | | Date | Sat, 6 May 2023 09:41:08 +0200 | From | Simon Horman <> | Subject | Re: [PATCH net] net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe() |
| |
On Fri, May 05, 2023 at 08:39:33PM +0200, Christophe JAILLET wrote: > Should of_mdiobus_register() fail, a previous usb_get_dev() call should be > undone as in the .disconnect function. > > Fixes: 04e37d92fbed ("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>
| |