RDMA/cxgb3: Annotate locking assumptions
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:48:50 +0000 (10:48 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 15 Oct 2017 00:47:05 +0000 (20:47 -0400)
commit1f5461b2021ae100d0171e6e0d99c009f84f3ac6
treea8ecf7e60fc4d3f8b48dcee9a65bc3ac2e9bab4c
parent6dfa8ae6b405ed5ce76a9f76eaa30d2dceca91f0
RDMA/cxgb3: Annotate locking assumptions

Tell sparse what the locking assumptions are for __flush_qp() such
that it does not complain about the locking operations inside that
function.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb3/iwch_qp.c