IB/rdmavt: Annotate rvt_reset_qp()
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 3 Jun 2016 19:09:16 +0000 (12:09 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 6 Jun 2016 23:36:21 +0000 (19:36 -0400)
commitc0a67f6ba356521a8266694ffffa4998264d0cb0
tree469e275a2e52bcf5549b14548c10e9f1eb27752b
parent2190d10de58101448b0ac360facc0d5166e3d30d
IB/rdmavt: Annotate rvt_reset_qp()

This patch avoids that sparse reports the following warning:

rdmavt/qp.c:507:17: warning: context imbalance in 'rvt_reset_qp' - unexpected unlock

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Mike Marciniszyn <mike.marciniszyn@intel.com>
Cc: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/qp.c