diff options
author | Pan Bian <bianpan2016@163.com> | 2021-01-21 15:33:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-07 16:47:39 +0300 |
commit | a366f3069c50b5d7aeb73aece32f5ad31c08643e (patch) | |
tree | 3a9d15f6f1fe042e324b36b742166c76d878777b /COPYING | |
parent | edf7dfe5d9ae60daeea947324eff5784e9b4036b (diff) | |
download | linux-a366f3069c50b5d7aeb73aece32f5ad31c08643e.tar.xz |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions