aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cma_configfs.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-11-12 22:59:58 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-11-22 11:57:33 -0700
commita140692a52d2e12ba6a76dd042d556348e8bb55a (patch)
treed168281ba7eca4abde7746f7398d4d2187437a09 /drivers/infiniband/core/cma_configfs.c
parentRDMA/uverbs: Make all the method functions in uverbs_cmd static (diff)
downloadlinux-dev-a140692a52d2e12ba6a76dd042d556348e8bb55a.tar.xz
linux-dev-a140692a52d2e12ba6a76dd042d556348e8bb55a.zip
RDMA/uverbs: Check for NULL driver methods for every write call
Add annotations to the uverbs_api structure indicating which driver methods are called by the implementation. If the required method is NULL the write API will be not be callable. This effectively duplicates the cmd_mask system, however it does it by expressing invariants required by the core code, not by delegating decision making to the driver. This is another step toward eliminating cmd_mask. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/cma_configfs.c')
0 files changed, 0 insertions, 0 deletions