commit | 370ce41d2e5847f120e251067e4943e5fd1a3541 | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Thu Jan 21 04:33:43 2021 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 15:37:12 2021 +0100 |
tree | fe83c0b3e906440fae594517e7b7963bd3df1672 | |
parent | a555c2faf02e116a9be2413962114ff548684de5 [diff] |
net: dsa: bcm_sf2: put device node before return commit cf3c46631e1637582f517a574c77cd6c05793817 upstream. Put the device node dn before return error code on failure path. Fixes: 461cd1b03e32 ("net: dsa: bcm_sf2: Register our slave MDIO bus") Signed-off-by: Pan Bian <bianpan2016@163.com> Link: https://lore.kernel.org/r/20210121123343.26330-1-bianpan2016@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>