IB/mlx5: Replace ENOTSUPP usage with EOPNOTSUPP
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 18 Jan 2017 12:59:51 +0000 (14:59 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 15:21:01 +0000 (10:21 -0500)
commit1ffd3a26f890222e49c4f4782763e2063026b611
treeb96e14c333a07fc56d7477f0d0af6d889e1b28cf
parent2ac693f9953a2787f942abcbea5d1dc22a310932
IB/mlx5: Replace ENOTSUPP usage with EOPNOTSUPP

Flow steering is supposed to return EOPNOTSUPP error
for unsupported fields and not ENOTSUPP error.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c