lpfc: Add lockdep assertions
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 20 Jan 2016 15:22:22 +0000 (16:22 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit1c2ba475eb0e574f96cf51c21157ffdf0af0dd2a
treec388e98422f00d42069337123ee96df1658379b8
parentd04a78f43a689babbcffd14a353786d868b7a27e
lpfc: Add lockdep assertions

Several functions in lpfc have comments stating that the function must
be called with the hbalock (or hostlock, or ringlock) held. Add
lockdep_assert_held() annotations to these functions, so one can
actually verify the locks are held.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_sli.c