summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-09-28 08:07:23 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-09-28 08:07:23 +0900
commit2b69c5fe9eb319058a9b6767ebee4a4b0e8054bb (patch)
treedf570ef53479566122c7559f6aac7199dbdc34a2 /tools/lib/python
parentc94caec799b7173bfa2eef0f4cac01872d6d62ba (diff)
firewire: cdev: use atomic_t for iso_resource_auto todo member
The transition state of an iso_resource_auto client resource has no effect on the client, so the client-level lock is not suitable for protecting it. At present, this state is the only member that requires mutual exclusion. Adding a separate lock for it would be excessive. Change the type of the transition state to atomic_t and use an atomic compare-and-swap operation to preserve consistency. Link: https://lore.kernel.org/r/20260927230724.119305-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions