[PATCH 5.15 069/132] net: netsec: fix error handling in netsec_register_mdio()