* Patch "ALSA: pcm: Avoid "BUG:" string for warnings again" has been added to the 4.4-stable tree
@ 2016-04-10 1:02 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-04-10 1:02 UTC (permalink / raw)
To: tiwai, gregkh; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
ALSA: pcm: Avoid "BUG:" string for warnings again
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
alsa-pcm-avoid-bug-string-for-warnings-again.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 0ab1ace856205d10cbc1924b2d931c01ffd216a6 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Thu, 10 Mar 2016 20:56:20 +0100
Subject: ALSA: pcm: Avoid "BUG:" string for warnings again
From: Takashi Iwai <tiwai@suse.de>
commit 0ab1ace856205d10cbc1924b2d931c01ffd216a6 upstream.
The commit [d507941beb1e: ALSA: pcm: Correct PCM BUG error message]
made the warning prefix back to "BUG:" due to its previous wrong
prefix. But a kernel message containing "BUG:" seems taken as an Oops
message wrongly by some brain-dead daemons, and it annoys users in the
end. Instead of teaching daemons, change the string again to a more
reasonable one.
Fixes: 507941beb1e ('ALSA: pcm: Correct PCM BUG error message')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
sound/core/pcm_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sound/core/pcm_lib.c
+++ b/sound/core/pcm_lib.c
@@ -322,7 +322,7 @@ static int snd_pcm_update_hw_ptr0(struct
char name[16];
snd_pcm_debug_name(substream, name, sizeof(name));
pcm_err(substream->pcm,
- "BUG: %s, pos = %ld, buffer size = %ld, period size = %ld\n",
+ "invalid position: %s, pos = %ld, buffer size = %ld, period size = %ld\n",
name, pos, runtime->buffer_size,
runtime->period_size);
}
Patches currently in stable-queue which might be from tiwai@suse.de are
queue-4.4/alsa-hda-apply-reboot-d3-fix-for-cx20724-codec-too.patch
queue-4.4/alsa-intel8x0-add-clock-quirk-entry-for-ad1981b-on-ibm-thinkpad-x41.patch
queue-4.4/alsa-usb-audio-add-microsoft-hd-5001-to-quirks.patch
queue-4.4/alsa-usb-audio-fix-null-dereference-in-create_fixed_stream_quirk.patch
queue-4.4/alsa-usb-audio-minor-code-cleanup-in-create_fixed_stream_quirk.patch
queue-4.4/alsa-pcm-avoid-bug-string-for-warnings-again.patch
queue-4.4/alsa-usb-audio-fix-double-free-in-error-paths-after-snd_usb_add_audio_stream-call.patch
queue-4.4/alsa-hda-fix-unconditional-gpio-toggle-via-automute.patch
queue-4.4/alsa-hda-don-t-handle-eld-notify-from-invalid-port.patch
queue-4.4/alsa-usb-audio-add-sanity-checks-for-endpoint-accesses.patch
queue-4.4/alsa-hda-fix-the-mic-mute-button-and-led-problem-for-a-lenovo-aio.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-10 1:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-10 1:02 Patch "ALSA: pcm: Avoid "BUG:" string for warnings again" has been added to the 4.4-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).