diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2018-07-27 21:23:05 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-30 20:31:09 -0600 |
commit | 0584c47bbc3b3149bfe544d4e090fb6d96addf6c (patch) | |
tree | 996265242ada89b4d65c8e6767596a0a55bce552 /drivers/infiniband/hw/i40iw/i40iw_main.c | |
parent | RDMA/core: Remove {create,destroy}_ah from mandatory verbs (diff) | |
download | linux-dev-0584c47bbc3b3149bfe544d4e090fb6d96addf6c.tar.xz linux-dev-0584c47bbc3b3149bfe544d4e090fb6d96addf6c.zip |
RDMA/core: Check for verbs callbacks before using them
Make sure the providers implement the verbs callbacks before calling
them, otherwise return -EOPNOTSUPP.
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_main.c')
0 files changed, 0 insertions, 0 deletions