android_kernel_samsung_a7y1.../include/sound
Takashi Iwai 1584d12efc ALSA: rawmidi: Avoid bit fields for state flags
commit dfa9a5efe8b932a84b3b319250aa3ac60c20f876 upstream.

The rawmidi state flags (opened, append, active_sensing) are stored in
bit fields that can be potentially racy when concurrently accessed
without any locks.  Although the current code should be fine, there is
also no any real benefit by keeping the bitfields for this kind of
short number of members.

This patch changes those bit fields flags to the simple bool fields.
There should be no size increase of the snd_rawmidi_substream by this
change.

Reported-by: syzbot+576cc007eb9f2c968200@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/20200214111316.26939-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 14:03:58 +02:00
..
samsung A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ac97_codec.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aci.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad1816a.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad1843.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
adau1373.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aess.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ak4xxx-adda.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ak4113.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ak4114.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ak4117.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ak4531_codec.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ak4641.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
alc5623.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asequencer.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asound.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asoundef.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atmel-abdac.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atmel-ac97c.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cod3034x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cod3035x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
compress_driver.h ALSA: compress: Fix regression on compressed capture streams 2020-04-06 20:38:55 +02:00
control.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
core.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs42l52.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs42l56.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs42l73.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs4231-regs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs4271.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs8403.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs8427.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da7213.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da7219-aad.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da7219.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9055.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dbmdx-export.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
designware_i2s.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dmaengine_pcm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
emu10k1_synth.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
emu10k1.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
emu8000_reg.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
emu8000.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
emux_legacy.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
emux_synth.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
es1688.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
exynos.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gus.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_hwdep.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_i915.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_register.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_regmap.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda_verbs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hdaudio_ext.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hdaudio.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hwdep.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
i2c.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
info.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
initval.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jack.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
l3.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
madera-pdata.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max9768.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max98088.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max98090.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max98095.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max98506.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
maxim_dsm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memalloc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
minors.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mixer_oss.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpu401.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
omap-hdmi-audio.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
omap-pcm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
opl3.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
opl4.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm_drm_eld.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm_iec958.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm_oss.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm_params.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm-indirect.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pt2258.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pxa2xx-lib.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rawmidi.h ALSA: rawmidi: Avoid bit fields for state flags 2020-04-07 14:03:58 +02:00
rt286.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rt298.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rt5640.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rt5645.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rt5651.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rt5670.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rt5677.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
s3c24xx_uda134x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sb.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sb16_csp.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_adaptation.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_audio_sysfs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
seq_device.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
seq_kernel.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
seq_midi_emul.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
seq_midi_event.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
seq_oss_legacy.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
seq_oss.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
seq_virmidi.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh_dac_audio.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh_fsi.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
simple_card.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smart_amp.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
snd_wavefront.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-dai.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-dapm.h ASoC: Define a set of DAPM pre/post-up events 2020-04-07 08:07:42 +02:00
soc-dpcm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-topology.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soundfont.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spear_dma.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spear_spdif.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sta32x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sta350.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tas2552-plat.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tas5086.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tea6330t.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tfa_ext.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timer.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tlv.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tlv320aic3x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tlv320aic32x4.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tlv320dac33-plat.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpa6130a2-plat.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uda134x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uda1380.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
util_mem.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vx_core.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wavefront.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm0010.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm1250-ev1.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm2000.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm2200.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm5100.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm8903.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm8904.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm8955.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm8960.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm8962.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm8993.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm8996.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm9081.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm9090.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wss.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30