aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2020-08-23 16:56:47 +0800
committerDavid S. Miller <[email protected]>2020-08-24 17:59:44 -0700
commite2d79cd8875fa8c3cc7defa98a8cc99a1ed0c62f (patch)
tree94ebce0a519b63dceaf3ece3b01b57121532c9e2 /lib/mpi/mpi-add.c
parentf97c04c316d8fea16dca449fdfbe101fbdfee6a2 (diff)
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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions