diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-03-12 16:57:30 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-03-12 16:58:03 +0100 |
commit | 5461e0530c222129dfc941058be114b5cbc00837 (patch) | |
tree | 0e676c61f56ef8aa3c0a469fcb092125a6cb1196 /sound/core/seq/seq_virmidi.c | |
parent | ALSA: hda/realtek: Fix pop noise on ALC225 (diff) | |
download | linux-dev-5461e0530c222129dfc941058be114b5cbc00837.tar.xz linux-dev-5461e0530c222129dfc941058be114b5cbc00837.zip |
ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
The return value checks in snd_pcm_plug_alloc() are covered with
snd_BUG_ON() macro that may trigger a kernel WARNING depending on the
kconfig. But since the error condition can be triggered by a weird
user space parameter passed to OSS layer, we shouldn't give the kernel
stack trace just for that. As it's a normal error condition, let's
remove snd_BUG_ON() macro usage there.
Reported-by: syzbot+2a59ee7a9831b264f45e@syzkaller.appspotmail.com
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200312155730.7520-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions