diff options
author | Or Gerlitz | 2017-01-11 18:35:41 +0100 |
---|---|---|
committer | Saeed Mahameed | 2017-01-29 22:01:37 +0100 |
commit | 9eb7892351a3a3b403d879b41c4e6efb2c96516f (patch) | |
tree | d66dd06e86366820ac8ef7a9c3847dac19bf4863 /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | kernel-qcow2-linux-9eb7892351a3a3b403d879b41c4e6efb2c96516f.tar.gz kernel-qcow2-linux-9eb7892351a3a3b403d879b41c4e6efb2c96516f.tar.xz kernel-qcow2-linux-9eb7892351a3a3b403d879b41c4e6efb2c96516f.zip |
net/mlx5: Change ENOTSUPP to EOPNOTSUPP
As ENOTSUPP is specific to NFS, change the return error value to
EOPNOTSUPP in various places in the mlx5 driver.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Suggested-by: Yotam Gigi <yotamg@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c index 03293ed1cc22..657d319fc4c6 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c @@ -166,7 +166,7 @@ static int esw_add_vlan_action_check(struct mlx5_esw_flow_attr *attr, return 0; out_notsupp: - return -ENOTSUPP; + return -EOPNOTSUPP; } int mlx5_eswitch_add_vlan_action(struct mlx5_eswitch *esw, |