[PATCH 5.10 45/91] net: netsec: fix error handling in netsec_register_mdio()