RDMA/verbs: Return proper error code for not supported system call
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 21 Feb 2018 16:12:44 +0000 (18:12 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 23 Feb 2018 03:31:18 +0000 (22:31 -0500)
commit87915bf82eeaaf8c103e61dffe267ff18ffd4021
tree5f1d255e29720a241bc4ab455c2636075955c4b0
parent372e15c5db5f3f15423a2e6e6a71b77b39026ecf
RDMA/verbs: Return proper error code for not supported system call

The proper return error is -EOPNOTSUPP and not -ENOSYS, so update
all places in verbs.c to match this semantics.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/verbs.c