diff options
author | Bryan Tan <[email protected]> | 2017-12-20 09:50:01 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2017-12-21 16:06:07 -0700 |
commit | 30a366a9dabd05a0d218288b7d732649886b6a53 (patch) | |
tree | 91063c22f2e3d58d749f7f275a17f28da4e806a1 /drivers/fpga/fpga-mgr.c | |
parent | 17748056ce123ee37fb7382bc698fc721e3c4a09 (diff) |
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 <[email protected]>
Reviewed-by: Aditya Sarwade <[email protected]>
Reviewed-by: Jorgen Hansen <[email protected]>
Signed-off-by: Bryan Tan <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions