aboutsummaryrefslogtreecommitdiffstats
path: root/net/mptcp/protocol.c
diff options
context:
space:
mode:
authorSudheesh Mavila <sudheesh.mavila@amd.com>2020-02-26 12:40:45 +0530
committerDavid S. Miller <davem@davemloft.net>2020-02-26 20:41:42 -0800
commit4f31c532ad400a34dbdd836c204ed964d1ec2da5 (patch)
tree27c10b7532610b657ff1ea9ba58a3c37972e9471 /net/mptcp/protocol.c
parentslip: not call free_netdev before rtnl_unlock in slip_open (diff)
downloadlinux-dev-4f31c532ad400a34dbdd836c204ed964d1ec2da5.tar.xz
linux-dev-4f31c532ad400a34dbdd836c204ed964d1ec2da5.zip
net: phy: corrected the return value for genphy_check_and_restart_aneg and genphy_c45_check_and_restart_aneg
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@amd.com> Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions