aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2018-07-09 22:21:03 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-07-09 15:19:08 -0600
commit3fda24324582ae790961137ecb88b3f0f2feb1f0 (patch)
tree0fa361f525be5d0e08435227c1519c28a4fe9963 /drivers/infiniband/hw/ocrdma
parentIB/core: Simplify check for RoCE route resolve (diff)
downloadlinux-dev-3fda24324582ae790961137ecb88b3f0f2feb1f0.tar.xz
linux-dev-3fda24324582ae790961137ecb88b3f0f2feb1f0.zip
RDMA/ipoib: Fix return code from ipoib_cm_dev_init
The proper return code is -EOPNOTSUPP and not -ENOSYS when the function isn't supported, also make sure to return the right error code from ipoib_transport_dev_init() when ipoib_cm_dev_init() is supported. Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma')
0 files changed, 0 insertions, 0 deletions