Skip to content
Commit d51f7ff5 authored by Pan Bian's avatar Pan Bian Committed by Greg Kroah-Hartman
Browse files

net: fec: put child node on error path



commit 0607a2cd upstream.

Also decrement the reference count of child device on error path.

Fixes: 3e782985 ("net: ethernet: fec: Allow configuration of MDIO bus speed")
Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210120122037.83897-1-bianpan2016@163.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cedbfddf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment