aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/rdma_core.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-02-21 18:12:33 +0200
committerDoug Ledford <dledford@redhat.com>2018-02-22 22:29:11 -0500
commita6c4a66ae923eb780ef693a6841cbff7a025cbf9 (patch)
tree0c7b772a111cb0a8aaecdbe40fa260a794bee170 /drivers/infiniband/core/rdma_core.h
parentRDMA/uverbs: Update sizeof users (diff)
downloadlinux-dev-a6c4a66ae923eb780ef693a6841cbff7a025cbf9.tar.xz
linux-dev-a6c4a66ae923eb780ef693a6841cbff7a025cbf9.zip
RDMA/uverbs: Refactor flags checks and update return value
Since commit f21519b23c1b ("IB/core: extended command: an improved infrastructure for uverbs commands"), the uverbs supports extra flags as an input to the command interface. However actually, there is only one flag available and used, so it is better to refactor the code, so the resolution and report to the users is done as early as possible. As part of this change, we changed the return value of failure case from ENOSYS to be EINVAL to be consistent with the rest flags checks. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/rdma_core.h')
0 files changed, 0 insertions, 0 deletions