aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2016-11-16 15:20:37 +0100
committerDavid S. Miller <[email protected]>2016-11-17 12:05:04 -0500
commit3ae30f4ce65e9d4de274b1472169ab3c27f5c666 (patch)
tree9e65dc4f80eb0f1a69eff5e556e72ff883992fa7 /tools/perf/scripts/python/netdev-times.py
parent48c1699d5335bc045b50989a06b1c526b17a25ff (diff)
of_mdio: fix device reference leak in of_phy_find_device
Make sure to drop the reference taken by bus_find_device() before returning NULL from of_phy_find_device() when the found device is not a PHY. Fixes: 6ed742363b9c ("of: of_mdio: Ensure mdio device is a PHY") Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions