diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-10-11 15:31:45 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-10-11 15:31:45 +0900 |
| commit | c2b3fb63263ed5f15d3855e2ca0405d412f836f0 (patch) | |
| tree | 44191baa5cb0898aa49670f22648c2de3234ef8d /include/linux | |
| parent | 8540ec31c831419c79ad65be2f515a9d8bbde257 (diff) | |
| download | linux-c2b3fb63263ed5f15d3855e2ca0405d412f836f0.tar.gz linux-c2b3fb63263ed5f15d3855e2ca0405d412f836f0.zip | |
firewire: core: use context analysis annotations and lockdep checks for topology map lock
The spinlock protects the topology map from concurrent access.
Add context analysis annotations and lockdep checks for this lock.
Link: https://lore.kernel.org/r/20261011063146.497455-6-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/firewire.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h index a3660ad1a1d4..b55c2fdd739d 100644 --- a/include/linux/firewire.h +++ b/include/linux/firewire.h @@ -139,7 +139,7 @@ struct fw_card { u32 broadcast_channel; struct { - __be32 buffer[(CSR_TOPOLOGY_MAP_END - CSR_TOPOLOGY_MAP) / 4]; + __be32 buffer[(CSR_TOPOLOGY_MAP_END - CSR_TOPOLOGY_MAP) / 4] __guarded_by(&lock); spinlock_t lock; } topology_map; |
