From: John Arbuckle <programmingkidx@gmail.com>
To: qemu-devel@nongnu.org
Cc: John Arbuckle <programmingkidx@gmail.com>
Subject: [Qemu-devel] [PATCH] Only print unknown command message in debug mode
Date: Mon, 29 Jan 2018 22:58:27 -0500 [thread overview]
Message-ID: <20180130035827.2360-1-programmingkidx@gmail.com> (raw)
After using QEMU with the sb16 sound card I would see all these messages about some numbered command not being understood. It became annoying after a while to always see this message, so this patch changes things so that the message is only printed when DEBUG is defined.
Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
---
hw/audio/sb16.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/audio/sb16.c b/hw/audio/sb16.c
index 6ab2f6f89a..45b679c4df 100644
--- a/hw/audio/sb16.c
+++ b/hw/audio/sb16.c
@@ -632,7 +632,7 @@ static void command (SB16State *s, uint8_t cmd)
return;
warn:
- dolog ("warning: command %#x,%d is not truly understood yet\n",
+ ldebug("warning: command %#x,%d is not truly understood yet\n",
cmd, s->needed_bytes);
goto exit;
--
2.14.3 (Apple Git-98)
next reply other threads:[~2018-01-30 3:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-30 3:58 John Arbuckle [this message]
2018-01-30 4:17 ` [Qemu-devel] [PATCH] Only print unknown command message in debug mode Philippe Mathieu-Daudé
2018-01-30 4:19 ` Programmingkid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180130035827.2360-1-programmingkidx@gmail.com \
--to=programmingkidx@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.