summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2016-11-16 15:20:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:26:09 +0200
commit620e769b26771da6f99b290d6c4c1802f9861957 (patch)
tree06715ff2ee5410e336145f89e2c13aea55c6aa98 /include/linux/platform_data
parent9ea08f4893304c04a0d80b0d2766d0a01e98eb12 (diff)
of_mdio: fix node leak in of_phy_register_fixed_link error path
commit 48c1699d5335bc045b50989a06b1c526b17a25ff upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions