]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'more-phydev-leaks'
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 01:01:16 +0000 (20:01 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 01:01:16 +0000 (20:01 -0500)
Johan Hovold says:

====================
net: fix phydev reference leaks

This series fixes a number of phydev reference leaks (and one of_node
leak) due to failure to put the reference taken by of_phy_find_device().

Note that I did not try to fix drivers/net/phy/xilinx_gmii2rgmii.c which
still leaks a reference.

Against net but should apply just as fine to net-next.

v2:
 - use put_device() instead of phy_dev_free() to put the references
   taken in net/dsa (patch 1/4).
 - add four new patches fixing similar leaks
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge