summaryrefslogtreecommitdiff
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorYu Xiao <yu.xiao@corigine.com>2023-02-07 13:16:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-25 13:25:41 +0300
commit173cadcece7601e464b29e08289a668b1ff3da73 (patch)
tree37e250f4c9b33aca02bb03166150d6a1e96e5f7c /lib/usercopy.c
parent05c91c03913902dfed96669160b385beaae69232 (diff)
downloadlinux-173cadcece7601e464b29e08289a668b1ff3da73.tar.xz
nfp: ethtool: fix the bug of setting unsupported port speed
[ Upstream commit 821de68c1f9c0236b0b9c10834cda900ae9b443c ] Unsupported port speed can be set and cause error. Now fixing it and return an error if setting unsupported speed. This fix depends on the following, which was included in v6.2-rc1: commit a61474c41e8c ("nfp: ethtool: support reporting link modes"). Fixes: 7c698737270f ("nfp: add support for .set_link_ksettings()") Signed-off-by: Yu Xiao <yu.xiao@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions