Re: [PATCH] net: arc_emac: Fix memleak in arc_mdio_probe
From: David Miller
Date: Mon Aug 24 2020 - 21:00:08 EST
From: Dinghao Liu <dinghao.liu@xxxxxxxxxx>
Date: Sun, 23 Aug 2020 16:56:47 +0800
> When devm_gpiod_get_optional() fails, bus should be
> freed just like when of_mdiobus_register() fails.
>
> Fixes: 1bddd96cba03d ("net: arc_emac: support the phy reset for emac driver")
> Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx>
Applied, thank you.