Re: [PATCH 7/9] scsi: bnx2fc: Add missing annotation for bnx2fc_abts_cleanup()

From: Martin K. Petersen
Date: Fri Apr 24 2020 - 12:59:03 EST



Jules,

> Sparse reports a warning at bnx2fc_abts_cleanup()
>
> warning: context imbalance in bnx2fc_abts_cleanup() - unexpected unlock
>
> The root cause is the missing annotation at bnx2fc_abts_cleanup()
>
> Add the missing __must_hold(&tgt->tgt_lock) annotation

Applied to 5.8/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering