Re: [PATCH v2Â] net: phy: corrected the return value for genphy_check_and_restart_aneg and genphy_c45_check_and_restart_aneg

From: Heiner Kallweit
Date: Wed Feb 26 2020 - 02:14:22 EST


On 26.02.2020 08:10, Sudheesh Mavila wrote:
> When auto-negotiation is not required, return value should be zero.
>
> Changes v1->v2:
> - improved comments and code as Andrew Lunn and Heiner Kallweit suggestion
> - fixed issue in genphy_c45_check_and_restart_aneg as Russell King
> suggestion.
>
> Fixes: 2a10ab043ac5 ("net: phy: add genphy_check_and_restart_aneg()")
> Fixes: 1af9f16840e9 ("net: phy: add genphy_c45_check_and_restart_aneg()")
> Signed-off-by: Sudheesh Mavila <sudheesh.mavila@xxxxxxx>
> ---

Reviewed-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>