aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2018-07-30 21:56:44 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-07-30 20:29:45 -0600
commite586e1e1b73f3dc020b82e6fc42c7789b7d0e95d (patch)
treec857dc02ced53c5302782cd7e5a2b4d151199915 /drivers/infiniband/core/verbs.c
parentRDMA/providers: Fix return value from create_srq callbacks (diff)
downloadlinux-dev-e586e1e1b73f3dc020b82e6fc42c7789b7d0e95d.tar.xz
linux-dev-e586e1e1b73f3dc020b82e6fc42c7789b7d0e95d.zip
RDMA/ipoib: Fix check for return code from ib_create_srq
Make sure to check for "-EOPNOTSUPP" instead of "-ENOSYS" which is the return code from ib_create_srq() in case that it not supported. Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
0 files changed, 0 insertions, 0 deletions