diff options
| author | 2026-07-13 17:24:05 +0530 | |
|---|---|---|
| committer | 2026-07-28 10:37:09 -0700 | |
| commit | a6732bd8003ad1ea9283c204b9ea6443d98bbc26 (patch) | |
| tree | cf52edee8b6058da0db0936c0c65025333680a83 /scripts/Makefile.thinlto | |
| parent | nvme: update nvme_passthru_end() signature (diff) | |
nvme: add context annotations for nvme_passthru_{start|stop}
Annotate nvme_passthru_start() and nvme_passthru_end() for Clang
context/thread-safety analysis.
The __cond_acquires() and __cond_releases() annotations model
conditional lock acquisition and release based on a function's return
value. Use a nonzero return value as the abstract condition denoting
that the associated locks have been acquired or released.
This allows the analyzer to track the lock state across the
nvme_passthru_start() / nvme_passthru_end() pair and verify correct
locking semantics.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
