aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSudheesh Mavila <[email protected]>2020-02-26 07:10:45 +0000
committerDavid S. Miller <[email protected]>2020-02-27 04:41:42 +0000
commit4f31c532ad400a34dbdd836c204ed964d1ec2da5 (patch)
tree27c10b7532610b657ff1ea9ba58a3c37972e9471 /net/unix/af_unix.c
parentslip: not call free_netdev before rtnl_unlock in slip_open (diff)
downloadkernel-4f31c532ad400a34dbdd836c204ed964d1ec2da5.tar.gz
kernel-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 <[email protected]> Reviewed-by: Heiner Kallweit <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions