diff options
| author | 2017-12-20 09:50:01 -0800 | |
|---|---|---|
| committer | 2017-12-21 16:06:07 -0700 | |
| commit | 30a366a9dabd05a0d218288b7d732649886b6a53 (patch) | |
| tree | 91063c22f2e3d58d749f7f275a17f28da4e806a1 /lib/mpi/mpiutil.c | |
| parent | RDMA/vmw_pvrdma: Call ib_umem_release on destroy QP path (diff) | |
| download | wireguard-linux-30a366a9dabd05a0d218288b7d732649886b6a53.tar.xz wireguard-linux-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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
