summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-08-23 16:56:47 +0800
committerDavid S. Miller <davem@davemloft.net>2020-08-24 17:59:44 -0700
commite2d79cd8875fa8c3cc7defa98a8cc99a1ed0c62f (patch)
tree94ebce0a519b63dceaf3ece3b01b57121532c9e2 /drivers/atm
parentf97c04c316d8fea16dca449fdfbe101fbdfee6a2 (diff)
downloadlinux-e2d79cd8875fa8c3cc7defa98a8cc99a1ed0c62f.tar.bz2
net: arc_emac: Fix memleak in arc_mdio_probe
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> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions