Messages in this thread | | | Date | Mon, 24 Aug 2020 18:00:05 -0700 (PDT) | Subject | Re: [PATCH] net: arc_emac: Fix memleak in arc_mdio_probe | From | David Miller <> |
| |
From: Dinghao Liu <dinghao.liu@zju.edu.cn> 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@zju.edu.cn>
Applied, thank you.
| |