qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Hu Tao <hutao@cn.fujitsu.com>
Cc: qemu-trivial@nongnu.org, Blue Swirl <blauwirbel@gmail.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] piix: fix some printf errors when debug is enabled
Date: Fri, 14 Jun 2013 11:19:36 +0400	[thread overview]
Message-ID: <51BAC408.5060003@msgid.tls.msk.ru> (raw)
In-Reply-To: <1371193890-1098-1-git-send-email-hutao@cn.fujitsu.com>

14.06.2013 11:11, Hu Tao wrote:
> And use PRIxxx macros if possible.
> 
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
>  cputlb.c        |  4 ++--
>  hw/acpi/piix4.c | 12 ++++++------
>  2 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/cputlb.c b/cputlb.c
> index 86666c8..1230e9e 100644
> --- a/cputlb.c
> +++ b/cputlb.c
> @@ -262,8 +262,8 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,
>  
>  #if defined(DEBUG_TLB)
>      printf("tlb_set_page: vaddr=" TARGET_FMT_lx " paddr=0x" TARGET_FMT_plx
> -           " prot=%x idx=%d pd=0x%08lx\n",
> -           vaddr, paddr, prot, mmu_idx, pd);
> +           " prot=%x idx=%d\n",
> +           vaddr, paddr, prot, mmu_idx);
>  #endif

This one hunk has already been posted by Hervé Poussineau in this message:

From: Hervé Poussineau <hpoussin@reactos.org>
Date: Wed,  5 Jun 2013 20:16:42 +0800
Message-Id: <1370434603-5394-1-git-send-email-hpoussin@reactos.org>
Subject: [Qemu-trivial] [PATCH] cputlb: fix debug logs

I questioned it because the `pd' thing hasn't been really removed
but moved into a different structure instead, and we should either
ask subsystem maintainers to fix it or remove the whole thing.
This is debugging stuff, which is needed by someone who actually
understands the subsystem and understands the debugging output
too.  If the debugging isn't needed (and since it does not compile
for quite some time, it obviously isn't used), let's get rid of
whole thing instead.

Unfortunately no one replied to that my email so far.  Adding Cc
BlueSwirl again, in a hope...

Thanks,

/mjt

  reply	other threads:[~2013-06-14  7:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-13 10:51 [Qemu-devel] [PATCH] fix some printf errors when debug is enabled Hu Tao
2013-06-13 10:51 ` [Qemu-devel] [PATCH] fix typo: apci -> acpi Hu Tao
2013-06-13 11:05   ` Andreas Färber
2013-06-17  2:08     ` Hu Tao
2013-06-17  6:20       ` Michael Tokarev
2013-06-13 10:51 ` [Qemu-devel] [PATCH] remove call to type_initialize in object_new_with_type Hu Tao
2013-06-14  7:09   ` Hu Tao
2013-06-14 13:06     ` Peter Crosthwaite
2013-06-14 13:02   ` Peter Crosthwaite
2013-06-13 11:10 ` [Qemu-devel] [PATCH] fix some printf errors when debug is enabled Andreas Färber
2013-06-13 11:13   ` Andreas Färber
2013-06-14  6:52   ` Hu Tao
2013-06-14  7:11   ` [Qemu-devel] [PATCH v2] piix: " Hu Tao
2013-06-14  7:19     ` Michael Tokarev [this message]
2013-06-14 10:27     ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2013-06-17  2:09       ` Hu Tao

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=51BAC408.5060003@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=blauwirbel@gmail.com \
    --cc=hutao@cn.fujitsu.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@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 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).