diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-09-06 07:24:49 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-06 07:24:49 +0400 |
commit | 338a8fad27908f64a0d249cc9f5c7d4ddb7e5684 (patch) | |
tree | 5033fb5dbf31c967af592a41da04065ed2493ddd /drivers/net | |
parent | ff149b2a168296c74763cb4a6e7054bdb0a426a1 (diff) | |
download | linux-338a8fad27908f64a0d249cc9f5c7d4ddb7e5684.tar.xz |
IB/mlx4: Annotate CQ locking
mlx4_ib_lock_cqs()/mlx4_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: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions