]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Fix wrong error code return on FEC query failure
authorShay Agroskin <shayag@mellanox.com>
Sun, 9 Dec 2018 10:00:13 +0000 (12:00 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 19 Jan 2019 00:15:30 +0000 (16:15 -0800)
commit2eb1e42551a8128d9182480dfaea52fa861e26e8
tree4279be889290b590c7a5c1451b658a75e6b455ba
parente8c8b53ccaff568fef4c13a6ccaf08bf241aa01a
net/mlx5e: Fix wrong error code return on FEC query failure

Advertised and configured FEC query failure resulted in printing
wrong error code.

Fixes: 6cfa94605091 ("net/mlx5e: Ethtool driver callback for query/set FEC policy")
Signed-off-by: Shay Agroskin <shayag@mellanox.com>
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c