From: Richard Henderson <rth@twiddle.net>
To: Yongbok Kim <yongbok.kim@imgtec.com>
Cc: qemu-trivial@nongnu.org, james.hogan@imgtec.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] target-mips: fix get_physical_address() #if 0 build error
Date: Tue, 27 Aug 2013 12:48:31 -0700 [thread overview]
Message-ID: <521D028F.1070505@twiddle.net> (raw)
In-Reply-To: <1377622116-37650-1-git-send-email-yongbok.kim@imgtec.com>
On 08/27/2013 09:48 AM, Yongbok Kim wrote:
> #if 0
> - qemu_log(TARGET_FMT_lx " %d %d => " TARGET_FMT_lx " %d (%d)\n",
> + qemu_log(TARGET_FMT_lx " %d %d => %" HWADDR_PRIx " %d (%d)\n",
> address, rw, access_type, *physical, *prot, ret);
> #endif
While by itself correct, consider converting this to the trace infrastructure
(with uint64_t instead of hwaddr).
If it's not worth a trace, it's probably not worth keeping at all.
r~
WARNING: multiple messages have this Message-ID (diff)
From: Richard Henderson <rth@twiddle.net>
To: Yongbok Kim <yongbok.kim@imgtec.com>
Cc: qemu-trivial@nongnu.org, james.hogan@imgtec.com,
qemu-devel@nongnu.org, aurelien@aurel32.net
Subject: Re: [Qemu-devel] [PATCH] target-mips: fix get_physical_address() #if 0 build error
Date: Tue, 27 Aug 2013 12:48:31 -0700 [thread overview]
Message-ID: <521D028F.1070505@twiddle.net> (raw)
In-Reply-To: <1377622116-37650-1-git-send-email-yongbok.kim@imgtec.com>
On 08/27/2013 09:48 AM, Yongbok Kim wrote:
> #if 0
> - qemu_log(TARGET_FMT_lx " %d %d => " TARGET_FMT_lx " %d (%d)\n",
> + qemu_log(TARGET_FMT_lx " %d %d => %" HWADDR_PRIx " %d (%d)\n",
> address, rw, access_type, *physical, *prot, ret);
> #endif
While by itself correct, consider converting this to the trace infrastructure
(with uint64_t instead of hwaddr).
If it's not worth a trace, it's probably not worth keeping at all.
r~
next prev parent reply other threads:[~2013-08-27 19:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-27 16:48 [Qemu-trivial] [PATCH] target-mips: fix get_physical_address() #if 0 build error Yongbok Kim
2013-08-27 16:48 ` [Qemu-devel] " Yongbok Kim
2013-08-27 19:48 ` Richard Henderson [this message]
2013-08-27 19:48 ` Richard Henderson
2013-08-28 8:28 ` [Qemu-trivial] " James Hogan
2013-08-28 8:28 ` James Hogan
2013-08-28 21:03 ` [Qemu-trivial] " Aurelien Jarno
2013-08-28 21:03 ` Aurelien Jarno
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=521D028F.1070505@twiddle.net \
--to=rth@twiddle.net \
--cc=james.hogan@imgtec.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=yongbok.kim@imgtec.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.