[PATCH for-next 0/4] vmw_pvrdma cleanup and style fixes

Bryan Tan
2017-12-20T19:23:11Z

Do some cleanup and fixes related to comments received when going
through the review process for the change to enable SRQs on vmw_pvrdma.

Note, as there are dependencies on the 4.15 fixes, this patch series
is based on top of the for-rc fixes for 4.15. The patch series is
named "vmw_pvrdma fixes for 4.15" and the last commit of the series
is "RDMA/vmw_pvrdma: Avoid use after free due to QP/CQ/SRQ destroy".

Bryan Tan (4):
RDMA/vmw_pvrdma: Clarify QP and CQ is_kernel logic
RDMA/vmw_pvrdma: Use more specific sizeof in kcalloc
RDMA/vmw_pvrdma: Use refcount_t instead of atomic_t
RDMA/vmw_pvrdma: Remove usage of BIT() from UAPI header

drivers/infiniband/hw/vmw_pvrdma/pvrdma.h | 4 ++--
drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c | 13 ++++++-------
drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 16 ++++++++--------
drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c | 11 +++++------
include/uapi/rdma/vmw_pvrdma-abi.h | 12 ++++++------
5 files changed, 27 insertions(+), 29 deletions(-)