diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-25 15:21:15 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-25 15:21:56 -0600 |
commit | e99028ad76e788574a7eafaee2e5916c5b9bbf87 (patch) | |
tree | c5395ba1c2dfdc29fde5b4303aa28d484ddf0e19 /drivers/infiniband/core/verbs.c | |
parent | MAINTAINERS: Update SRP entries (diff) | |
download | linux-dev-e99028ad76e788574a7eafaee2e5916c5b9bbf87.tar.xz linux-dev-e99028ad76e788574a7eafaee2e5916c5b9bbf87.zip |
RDMA/uverbs: Check existence of create_flow callback
In the accepted series "Refactor ib_uverbs_write path", we presented the
roadmap to get rid of uverbs_cmd_mask and uverbs_ex_cmd_mask fields in
favor of simple check of function pointer. So let's put NULL check of
create_flow function callback despite the fact that uverbs_ex_cmd_mask
still exists.
Link: https://www.spinics.net/lists/linux-rdma/msg60753.html
Suggested-by: Michael J Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
0 files changed, 0 insertions, 0 deletions