]> git.karo-electronics.de Git - linux-beck.git/commit
IB/rdmavt: Add per verb driver callback checking
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Sun, 14 Feb 2016 20:10:37 +0000 (12:10 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:38:09 +0000 (20:38 -0500)
commit1348d706f254fe7030221251a5e1685ff3d9f86a
treebda42c10cead88f2beb7da2aec9d92d8d9393cc1
parent90793f7179478df19ac4b2244cfd9764b28e4b38
IB/rdmavt: Add per verb driver callback checking

For each verb validate that all requirements for driver callbacks are met.
If a function is called without checking for a valid pointer, it is a
required function. Also document what each callback function does.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/vt.c
include/rdma/rdma_vt.h