diff options
| author | 2026-09-20 16:14:57 +0900 | |
|---|---|---|
| committer | 2026-09-20 16:14:57 +0900 | |
| commit | b9d9a226589277aad5d82ce8e922b754766f672d (patch) | |
| tree | 995c3a23918788983fd653be9c87596fbfec6b58 /scripts/Makefile.thinlto | |
| parent | firewire: core: use spinlock without irqsave for card topology_map member (diff) | |
firewire: cdev: use memory barrier to access fw_device members
The core code uses a read memory barrier when accessing the generation
and node_id members of the fw_device structure. It assumes that the
latest value of the former is visible to a processor core when the latest
value of the latter is visible, since these members are updated in reverse
order with a write memory barrier.
However, the function that fills the fw_cdev_event_bus_reset structure
does not follow this approach. Use a read memory barrier when accessing
these members.
Link: https://lore.kernel.org/r/20260920071501.77785-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
