From patchwork Tue Jan 5 13:22:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jones X-Patchwork-Id: 563096 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0944D1402DE for ; Wed, 6 Jan 2016 00:22:56 +1100 (AEDT) Received: from localhost ([::1]:49538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGRZd-00075l-QK for incoming@patchwork.ozlabs.org; Tue, 05 Jan 2016 08:22:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGRZM-0006jn-DY for qemu-devel@nongnu.org; Tue, 05 Jan 2016 08:22:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGRZH-0007nY-G7 for qemu-devel@nongnu.org; Tue, 05 Jan 2016 08:22:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGRZH-0007nQ-AA for qemu-devel@nongnu.org; Tue, 05 Jan 2016 08:22:31 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 9A1E836B376; Tue, 5 Jan 2016 13:22:30 +0000 (UTC) Received: from hawk.localdomain.com (dhcp-1-220.brq.redhat.com [10.34.1.220]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u05DMSfl017903; Tue, 5 Jan 2016 08:22:29 -0500 From: Andrew Jones To: qemu-devel@nongnu.org Date: Tue, 5 Jan 2016 14:22:24 +0100 Message-Id: <1452000144-23805-1-git-send-email-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: edgar.iglesias@gmail.com, crosthwaite.peter@gmail.com, alistair.francis@xilinx.com Subject: [Qemu-devel] [PATCH] hw/dma/xilinx_axidma: debug printf fixups X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org (Found by grepping for broken PRI users.) Signed-off-by: Andrew Jones --- 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