Commit 771a3198 authored by Takashi Iwai's avatar Takashi Iwai Committed by Kamal Mostafa

ALSA: seq: Degrade the error message for too many opens

commit da10816e upstream.

ALSA OSS sequencer spews a kernel error message ("ALSA: seq_oss: too
many applications") when user-space tries to open more than the
limit.  This means that it can easily fill the log buffer.

Since it's merely a normal error, it's safe to suppress it via
pr_debug() instead.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
[ kamal: backport to 3.13-stable: context ]
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 0689e4b3
...@@ -206,7 +206,7 @@ snd_seq_oss_open(struct file *file, int level) ...@@ -206,7 +206,7 @@ snd_seq_oss_open(struct file *file, int level)
dp->index = i; dp->index = i;
if (i >= SNDRV_SEQ_OSS_MAX_CLIENTS) { if (i >= SNDRV_SEQ_OSS_MAX_CLIENTS) {
snd_printk(KERN_ERR "too many applications\n"); snd_printk(KERN_DEBUG "too many applications\n");
rc = -ENOMEM; rc = -ENOMEM;
goto _error; goto _error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment