summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2026-05-29 11:03:10 -0700
committerNiklas Cassel <cassel@kernel.org>2026-06-01 19:09:08 +0200
commit7725c45682abd7a6590676c33c35a7bdfdec6db5 (patch)
treedead5ede72b813e5557f8c036c32c2e44eda823d /drivers/phy/eswin/git@git.tavy.me:linux.git
parent4b3c2ca268b0a66093793466e02d8566d642f19c (diff)
ata: libata: Document when host->eh_mutex should be held
Annotate the following functions with __must_hold(&host->eh_mutex): * All ata_port_operations.error_handler() implementations. * ata_eh_reset() and ata_eh_recover() because these functions call ata_eh_release() and ata_eh_acquire(). * All callers of ata_eh_reset() and ata_eh_recover(). Enable Clang's context analysis. This will cause the build to fail if e.g. a locking bug would be introduced in an error path. This patch should not affect the generated assembler code. Signed-off-by: Bart Van Assche <bvanassche@acm.org> [cassel: drop note about clang 23 from commit log] 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