diff options
author | 2016-11-28 19:24:59 +0100 | |
---|---|---|
committer | 2016-11-29 23:17:02 -0500 | |
commit | 140ca9d3471c424ab4c4036ab8d8d995f24a9c5b (patch) | |
tree | 68a467c7cce871c24aa07d068898341812e520d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ethernet: bcmsysport: fix fixed-link phydev leaks (diff) | |
download | wireguard-linux-140ca9d3471c424ab4c4036ab8d8d995f24a9c5b.tar.xz wireguard-linux-140ca9d3471c424ab4c4036ab8d8d995f24a9c5b.zip |
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: 9abf0c2b717a ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions