summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-06-23 16:34:03 +0300
committerJakub Kicinski <kuba@kernel.org>2022-06-24 11:19:29 -0700
commitb4cbd7a9339f396a991a9a056c4b57a35a4cbd96 (patch)
treeaa271fdfaf6d4719691f4f79be2ac9156e18f3c0 /net/unix/af_unix.c
parentcbdabaecb1f64ac0b2c033a7c9b7daa43c242c82 (diff)
net: lan743x: Use correct variable in lan743x_sgmii_config()
There is a copy and paste bug in lan743x_sgmii_config() so it checks if (ret < 0) instead of if (mii_ctl < 0). Fixes: 46b777ad9a8c ("net: lan743x: Add support to SGMII 1G and 2.5G") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/YrRry7K66BzKezl8@kili Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions