From: John Snow <jsnow@redhat.com>
To: Thomas Huth <thuth@redhat.com>, Kevin Wolf <kwolf@redhat.com>,
qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org, Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH] block/vvfat: Disable debug message by default
Date: Wed, 18 Jul 2018 11:29:57 -0400 [thread overview]
Message-ID: <bd364240-cc88-4cfc-d5f1-5d6841ec5a66@redhat.com> (raw)
In-Reply-To: <1531926509-8280-1-git-send-email-thuth@redhat.com>
On 07/18/2018 11:08 AM, Thomas Huth wrote:
> It's annoying to see this debug message every time you use vvfat.
> Disable it with the DLOG() macro by default, as it is done with the
> other debug messages in this file.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> block/vvfat.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/block/vvfat.c b/block/vvfat.c
> index c7d2ed2..fc41841 100644
> --- a/block/vvfat.c
> +++ b/block/vvfat.c
> @@ -1245,8 +1245,8 @@ static int vvfat_open(BlockDriverState *bs, QDict *options, int flags,
> s->fat2 = NULL;
> s->downcase_short_names = 1;
>
> - fprintf(stderr, "vvfat %s chs %d,%d,%d\n",
> - dirname, cyls, heads, secs);
> + DLOG(fprintf(stderr, "vvfat %s chs %d,%d,%d\n",
> + dirname, cyls, heads, secs));
>
> s->sector_count = cyls * heads * secs - s->offset_to_bootsector;
>
>
Makes sense as a minimal change without doing more... real work here.
Reviewed-by: John Snow <jsnow@redhat.com>
next prev parent reply other threads:[~2018-07-18 15:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-18 15:08 [Qemu-devel] [PATCH] block/vvfat: Disable debug message by default Thomas Huth
2018-07-18 15:29 ` John Snow [this message]
2018-07-23 14:08 ` Kevin Wolf
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=bd364240-cc88-4cfc-d5f1-5d6841ec5a66@redhat.com \
--to=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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.