diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-16 17:20:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-17 20:05:04 +0300 |
commit | 48c1699d5335bc045b50989a06b1c526b17a25ff (patch) | |
tree | 5075ac7364141e1e8d853d9b8b9219917aa56b07 /tools | |
parent | cfc44a4d147ea605d66ccb917cc24467d15ff867 (diff) | |
download | linux-48c1699d5335bc045b50989a06b1c526b17a25ff.tar.xz |
of_mdio: fix node leak in of_phy_register_fixed_link error path
Make sure to drop the of_node reference also on failure to parse the
speed property in of_phy_register_fixed_link().
Fixes: 3be2a49e5c08 ("of: provide a binding for fixed link PHYs")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions