* [Qemu-devel] [REPOST PATCH] ioapic: fix build with DEBUG_IOAPIC
@ 2012-03-19 3:19 Jason Wang
2012-03-19 8:49 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
2012-03-19 10:05 ` [Qemu-devel] " Andreas Färber
0 siblings, 2 replies; 3+ messages in thread
From: Jason Wang @ 2012-03-19 3:19 UTC (permalink / raw)
To: qemu-trivial, qemu-devel, stefanha; +Cc: afaerber
ioapic.c:198: error: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘uint64_t’
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
hw/ioapic.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ioapic.c b/hw/ioapic.c
index 3fee011..e2e4796 100644
--- a/hw/ioapic.c
+++ b/hw/ioapic.c
@@ -195,7 +195,7 @@ ioapic_mem_write(void *opaque, target_phys_addr_t addr, uint64_t val,
if (size != 4) {
break;
}
- DPRINTF("write: %08x = %08x\n", s->ioregsel, val);
+ DPRINTF("write: %08x = %08" PRIx64 "\n", s->ioregsel, val);
switch (s->ioregsel) {
case IOAPIC_REG_ID:
s->id = (val >> IOAPIC_ID_SHIFT) & IOAPIC_ID_MASK;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [REPOST PATCH] ioapic: fix build with DEBUG_IOAPIC
2012-03-19 3:19 [Qemu-devel] [REPOST PATCH] ioapic: fix build with DEBUG_IOAPIC Jason Wang
@ 2012-03-19 8:49 ` Stefan Hajnoczi
2012-03-19 10:05 ` [Qemu-devel] " Andreas Färber
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2012-03-19 8:49 UTC (permalink / raw)
To: Jason Wang; +Cc: qemu-trivial, qemu-devel, afaerber, stefanha
On Mon, Mar 19, 2012 at 11:19:57AM +0800, Jason Wang wrote:
> ioapic.c:198: error: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘uint64_t’
>
> Signed-off-by: Jason Wang <jasowang@redhat.com>
> ---
> hw/ioapic.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [REPOST PATCH] ioapic: fix build with DEBUG_IOAPIC
2012-03-19 3:19 [Qemu-devel] [REPOST PATCH] ioapic: fix build with DEBUG_IOAPIC Jason Wang
2012-03-19 8:49 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
@ 2012-03-19 10:05 ` Andreas Färber
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Färber @ 2012-03-19 10:05 UTC (permalink / raw)
To: Jason Wang; +Cc: qemu-trivial, qemu-devel, stefanha
Am 19.03.2012 04:19, schrieb Jason Wang:
> ioapic.c:198: error: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘uint64_t’
>
> Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Thanks,
Andreas
> ---
> hw/ioapic.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hw/ioapic.c b/hw/ioapic.c
> index 3fee011..e2e4796 100644
> --- a/hw/ioapic.c
> +++ b/hw/ioapic.c
> @@ -195,7 +195,7 @@ ioapic_mem_write(void *opaque, target_phys_addr_t addr, uint64_t val,
> if (size != 4) {
> break;
> }
> - DPRINTF("write: %08x = %08x\n", s->ioregsel, val);
> + DPRINTF("write: %08x = %08" PRIx64 "\n", s->ioregsel, val);
> switch (s->ioregsel) {
> case IOAPIC_REG_ID:
> s->id = (val >> IOAPIC_ID_SHIFT) & IOAPIC_ID_MASK;
>
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-19 10:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-19 3:19 [Qemu-devel] [REPOST PATCH] ioapic: fix build with DEBUG_IOAPIC Jason Wang
2012-03-19 8:49 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
2012-03-19 10:05 ` [Qemu-devel] " Andreas Färber
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.