diff options
author | Takashi Iwai <[email protected]> | 2020-12-06 09:35:27 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2020-12-06 09:36:10 +0100 |
commit | 88a06d6fd6b369d88cec46c62db3e2604a2f50d5 (patch) | |
tree | 025e13706efbe8b274202e76ee6805ae6feb13f6 /lib/mpi/mpi-bit.c | |
parent | 4ebd47037027c4beae99680bff3b20fdee5d7c1e (diff) |
ALSA: rawmidi: Access runtime->avail always in spinlock
The runtime->avail field may be accessed concurrently while some
places refer to it without taking the runtime->lock spinlock, as
detected by KCSAN. Usually this isn't a big problem, but for
consistency and safety, we should take the spinlock at each place
referencing this field.
Reported-by: [email protected]
Reported-by: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions