Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: dsa: bcm_sf2: put device node before return
Put the device node dn before return error code on failure path. Fixes: 461cd1b ("net: dsa: bcm_sf2: Register our slave MDIO bus") Signed-off-by: Pan Bian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
- Loading branch information