qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] hw/dma/xilinx_axidma: debug printf fixups
@ 2016-01-05 13:22 Andrew Jones
  2016-01-05 14:07 ` Eric Blake
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Jones @ 2016-01-05 13:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: edgar.iglesias, crosthwaite.peter, alistair.francis

(Found by grepping for broken PRI users.)

Signed-off-by: Andrew Jones <drjones@redhat.com>
---
 hw/dma/xilinx_axidma.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c
index b1cfa11356a26..2ab0772cd19ae 100644
--- a/hw/dma/xilinx_axidma.c
+++ b/hw/dma/xilinx_axidma.c
@@ -180,10 +180,10 @@ static inline int streamid_from_addr(hwaddr addr)
 #ifdef DEBUG_ENET
 static void stream_desc_show(struct SDesc *d)
 {
-    qemu_log("buffer_addr  = " PRIx64 "\n", d->buffer_address);
-    qemu_log("nxtdesc      = " PRIx64 "\n", d->nxtdesc);
-    qemu_log("control      = %x\n", d->control);
-    qemu_log("status       = %x\n", d->status);
+    qemu_log("buffer_addr  = 0x%" PRIx64 "\n", d->buffer_address);
+    qemu_log("nxtdesc      = 0x%" PRIx64 "\n", d->nxtdesc);
+    qemu_log("control      = 0x%x\n", d->control);
+    qemu_log("status       = 0x%x\n", d->status);
 }
 #endif
 
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-06 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-05 13:22 [Qemu-devel] [PATCH] hw/dma/xilinx_axidma: debug printf fixups Andrew Jones
2016-01-05 14:07 ` Eric Blake
2016-01-05 15:32   ` Andrew Jones
2016-01-06  1:45     ` Alistair Francis
2016-01-06 12:51       ` Andrew Jones

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).