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