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

Martin K. Petersen
2020-04-24T16:59:03Z

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