aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c
diff options
context:
space:
mode:
authorBryan Tan <bryantan@vmware.com>2017-12-20 09:50:01 -0800
committerJason Gunthorpe <jgg@mellanox.com>2017-12-21 16:06:07 -0700
commit30a366a9dabd05a0d218288b7d732649886b6a53 (patch)
tree91063c22f2e3d58d749f7f275a17f28da4e806a1 /drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c
parentRDMA/vmw_pvrdma: Call ib_umem_release on destroy QP path (diff)
downloadlinux-dev-30a366a9dabd05a0d218288b7d732649886b6a53.tar.xz
linux-dev-30a366a9dabd05a0d218288b7d732649886b6a53.zip
RDMA/vmw_pvrdma: Use refcount_dec_and_test to avoid warning
refcount_dec generates a warning when the operation causes the refcount to hit zero. Avoid this by using refcount_dec_and_test. Fixes: 8b10ba783c9d ("RDMA/vmw_pvrdma: Add shared receive queue support") Reviewed-by: Adit Ranadive <aditr@vmware.com> Reviewed-by: Aditya Sarwade <asarwade@vmware.com> Reviewed-by: Jorgen Hansen <jhansen@vmware.com> Signed-off-by: Bryan Tan <bryantan@vmware.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c')
0 files changed, 0 insertions, 0 deletions