]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4: Change ENOTSUPP to EOPNOTSUPP
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 23 Feb 2017 10:02:41 +0000 (12:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2017 15:57:56 +0000 (10:57 -0500)
commit423b3aecf29085a52530d4f9167c56a84b081042
tree24e3756edaf38bb6cca723b6c1704e04eef6b348
parentc12f4d761dd2313ae4f457041df3ec0c603aa76a
net/mlx4: Change ENOTSUPP to EOPNOTSUPP

As ENOTSUPP is specific to NFS, change the return error value to
EOPNOTSUPP in various places in the mlx4 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: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/intf.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/mr.c
drivers/net/ethernet/mellanox/mlx4/qp.c
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c