diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-01-25 11:01:47 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-01-25 11:49:10 +0100 |
commit | 599151336638d57b98d92338aa59c048e3a3e97d (patch) | |
tree | f4578dfa11b3e8a3528b3bab3c67ae1acd3a402d /arch/nios2 | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
ALSA: seq: Fix incorrect sanity check at snd_seq_oss_synth_cleanup()
ALSA sequencer OSS emulation code has a sanity check for currently
opened devices, but there is a thinko there, eventually it spews
warnings and skips the operation wrongly like:
WARNING: CPU: 1 PID: 7573 at sound/core/seq/oss/seq_oss_synth.c:311
Fix this off-by-one error.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions