aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTim Gardner <tim.gardner@canonical.com>2014-04-16 10:18:35 -0400
committerTakashi Iwai <tiwai@suse.de>2014-04-16 10:20:59 -0400
commit00d90154404ae6218730068d25bf2faad3186631 (patch)
treea7a8a47a95db2b02254270f3fd7077e4bceca323 /sound/core
parent5c7ab1574987f131f983b15ecfd717faf114f4df (diff)
ALSA: pcm: 'BUG:' message unnecessarily triggers kerneloops
BugLink: http://bugs.launchpad.net/bugs/1305480 The kerneloops-daemon scans dmesg for common crash signatures, among which is 'BUG:'. The message emitted by the PCM library is really a warning, so the most expedient thing to do seems to be to change the string. Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/pcm_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c
index ce83def9f43b..9acc77eae487 100644
--- a/sound/core/pcm_lib.c
+++ b/sound/core/pcm_lib.c
@@ -345,7 +345,7 @@ static int snd_pcm_update_hw_ptr0(struct snd_pcm_substream *substream,
345 snd_pcm_debug_name(substream, name, sizeof(name)); 345 snd_pcm_debug_name(substream, name, sizeof(name));
346 xrun_log_show(substream); 346 xrun_log_show(substream);
347 pcm_err(substream->pcm, 347 pcm_err(substream->pcm,
348 "BUG: %s, pos = %ld, buffer size = %ld, period size = %ld\n", 348 "XRUN: %s, pos = %ld, buffer size = %ld, period size = %ld\n",
349 name, pos, runtime->buffer_size, 349 name, pos, runtime->buffer_size,
350 runtime->period_size); 350 runtime->period_size);
351 } 351 }