diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2026-05-28 19:28:59 +0200 |
|---|---|---|
| committer | Niklas Cassel <cassel@kernel.org> | 2026-06-01 19:14:41 +0200 |
| commit | 042f5526cf2c44eac17ed2fa57a9a6e8d30d6279 (patch) | |
| tree | 825297d995b57732af8a7fd83b840217960d6dd9 /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | b2412353ad10c480531055dac1f3c5f60c189331 (diff) | |
ata: Annotate functions in the issuing path with __must_hold()
Annotate the following functions used in the issuing path:
ata_qc_issue(), ata_sas_queuecmd(), ata_scsi_qc_issue(),
ata_scsi_translate(), __ata_scsi_queuecmd()
These functions are all used in the issuing path, so context analysis will
be able to verify that the ap lock is held, from it is taken in
sas_queuecommand() or ata_scsi_queuecmd() all the way down to
ata_qc_issue().
Commenting out the spin_lock_irqsave() successfully results in a compiler
error on Clang 23.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Co-developed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
