diff options
author | Pan Bian <bianpan2016@163.com> | 2021-01-20 04:20:37 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-22 19:15:55 -0800 |
commit | 0607a2cddb60f4548b55e28ac56a8d73493a45bb (patch) | |
tree | e5bb791b71a8f8c8d22a719b826bd800569998d3 /net | |
parent | 3765d86ffcd346913c372d69cdc05dc8d56119ac (diff) | |
download | lwn-0607a2cddb60f4548b55e28ac56a8d73493a45bb.tar.gz lwn-0607a2cddb60f4548b55e28ac56a8d73493a45bb.zip |
net: fec: put child node on error path
Also decrement the reference count of child device on error path.
Fixes: 3e782985cb3c ("net: ethernet: fec: Allow configuration of MDIO bus speed")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210120122037.83897-1-bianpan2016@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions