[PATCH 5.4 36/64] net: netsec: fix error handling in netsec_register_mdio()