Skip to content
Commit ffe063f3 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Annotate CQ locking



mthca_ib_lock_cqs()/mthca_ib_unlock_cqs() are helper functions that
lock/unlock both CQs attached to a QP in the proper order to avoid
AB-BA deadlocks.  Annotate this so sparse can understand what's going
on (and warn us if we misuse these functions).

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent deecb5d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment