linux_dsm_epyc7002/drivers/net/ethernet/broadcom/genet
Johan Hovold 140ca9d347 net: ethernet: bcmgenet: fix fixed-link phydev leaks
Make sure to deregister and free any fixed-link PHY registered using
of_phy_register_fixed_link() on probe errors and on driver unbind.

Note that we're still leaking any fixed-link PHY registered in the
non-OF probe path.

Fixes: 9abf0c2b71 ("net: bcmgenet: use the new fixed PHY helpers")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-29 23:17:02 -05:00
..
bcmgenet_wol.c net: bcmgenet: properly disable password matching 2015-03-05 21:15:21 -05:00
bcmgenet.c net: bcmgenet: use new api ethtool_{get|set}_link_ksettings 2016-09-27 07:43:07 -04:00
bcmgenet.h Revert "net: ethernet: bcmgenet: use phydev from struct net_device" 2016-09-27 07:43:07 -04:00
bcmmii.c net: ethernet: bcmgenet: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
Makefile net: bcmgenet: add Wake-on-LAN support code 2014-07-21 16:04:31 -07:00