[PATCH openEuler-5.10-LTS 081/121] net: phy: marvell10g: fix return value on error