Received: from eggs.gnu.org ([2001:4830:134:3::10]:35086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnOIN-0003fz-N7 for qemu-devel@nongnu.org; Fri, 14 Jun 2013 03:19:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnOIM-0001iZ-MP for qemu-devel@nongnu.org; Fri, 14 Jun 2013 03:19:39 -0400 Message-ID: <51BAC408.5060003@msgid.tls.msk.ru> Date: Fri, 14 Jun 2013 11:19:36 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <51B9A88C.3080105@suse.de> <1371193890-1098-1-git-send-email-hutao@cn.fujitsu.com> In-Reply-To: <1371193890-1098-1-git-send-email-hutao@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] piix: fix some printf errors when debug is enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: qemu-trivial@nongnu.org, Blue Swirl , qemu-devel@nongnu.org 14.06.2013 11:11, Hu Tao wrote: > And use PRIxxx macros if possible. >=20 > Signed-off-by: Hu Tao > --- > cputlb.c | 4 ++-- > hw/acpi/piix4.c | 12 ++++++------ > 2 files changed, 8 insertions(+), 8 deletions(-) >=20 > 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 v= addr, > =20 > #if defined(DEBUG_TLB) > printf("tlb_set_page: vaddr=3D" TARGET_FMT_lx " paddr=3D0x" TARGET= _FMT_plx > - " prot=3D%x idx=3D%d pd=3D0x%08lx\n", > - vaddr, paddr, prot, mmu_idx, pd); > + " prot=3D%x idx=3D%d\n", > + vaddr, paddr, prot, mmu_idx); > #endif This one hunk has already been posted by Herv=E9 Poussineau in this messa= ge: From: Herv=E9 Poussineau 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