Re: [PATCH 6/9] scsi: libsas: Add missing annotation for sas_ata_qc_issue()

From: Martin K. Petersen
Date: Tue Apr 14 2020 - 21:47:57 EST



Jules,

> Sparse reports a warning at sas_ata_qc_issue()
>
> warning: context imbalance in sas_ata_qc_issue() - unexpected unlock
> The root cause is the missing annotation at sas_ata_qc_issue()
>
> Add the missing __must_hold(ap->lock) annotation

Applied to 5.8/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering