ALSA: pcm: Avoid "BUG:" string for warnings again
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Mar 2016 19:56:20 +0000 (20:56 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 11 Jul 2016 03:06:56 +0000 (23:06 -0400)
commit4c06bf7e573a4e8cd8bf42ed99524e30b3aa8cbd
tree470c41a9fdba5136645c69cd0edde9bb74773e0b
parentcab680963342190c38a0df2e16b6184f9f67189a
ALSA: pcm: Avoid "BUG:" string for warnings again

[ Upstream commit 0ab1ace856205d10cbc1924b2d931c01ffd216a6 ]

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')
Cc: <stable@vger.kernel.org> # v3.19+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/core/pcm_lib.c