summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-07 23:56:48 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-08 08:49:14 +0200
commitaf027278d8d9915b7cb32736404719f1aebd66a3 (patch)
treec8a6c8d8014b1a44fef5a158d317a124505e449a /tools/lib/python/kdoc/python_version.py
parentf2c6e4f4575ff5318865c77da0153eb64809e8b8 (diff)
ALSA: hda: Make hdac_device.registered a plain bool
The registered field of hdac_device is a bitfield sharing the same word with other bitfields like lazy_cache, and those are updated in a non-atomic read-modify-write manner without any lock. Meanwhile, the registered flag is read from the unsolicited event worker concurrently, so the concurrent updates of the neighboring bitfields may race with it. Convert it to a plain bool for avoiding such a subtle race. Also replace the assignments of 0/1 with false/true accordingly. Assisted-by: LLM Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261007215650.159871-4-tiwai@suse.de
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions