From: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
To: qemu-devel@nongnu.org
Cc: vineshp@xilinx.com, peter.maydell@linaro.org,
Peter Crosthwaite <peter.crosthwaite@xilinx.com>,
john.williams@xilinx.com, pbonzini@redhat.com,
edgar.iglesias@gmail.com
Subject: [Qemu-devel] [PATCH v2 6/6] pflash_cfi01: Fix debug mode printfery
Date: Mon, 22 Oct 2012 17:19:04 +1000 [thread overview]
Message-ID: <328e37d8b174defe95f83a914859e2d9d804ae7d.1350889929.git.peter.crosthwaite@xilinx.com> (raw)
In-Reply-To: <cover.1350889929.git.peter.crosthwaite@xilinx.com>
In-Reply-To: <cover.1350889929.git.peter.crosthwaite@xilinx.com>
This DPRINTF was throwing a warning due to a missing cast.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
---
hw/pflash_cfi01.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c
index 6164a97..90c111d 100644
--- a/hw/pflash_cfi01.c
+++ b/hw/pflash_cfi01.c
@@ -183,7 +183,8 @@ static uint32_t pflash_read (pflash_t *pfl, target_phys_addr_t offset,
DPRINTF("%s: Device ID Code %04x\n", __func__, ret);
break;
default:
- DPRINTF("%s: Read Device Information boff=%x\n", __func__, boff);
+ DPRINTF("%s: Read Device Information boff=%x\n", __func__,
+ (unsigned)boff);
ret = 0;
break;
}
--
1.7.0.4
next prev parent reply other threads:[~2012-10-22 7:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-22 7:18 [Qemu-devel] [PATCH v2 0/6] QOMify pflash_cfi0x + PL353 for Xilinx Zynq Peter Crosthwaite
2012-10-22 7:18 ` [Qemu-devel] [PATCH v2 1/6] pflash_cfi0x: remove unused base field Peter Crosthwaite
2012-10-22 7:19 ` [Qemu-devel] [PATCH v2 2/6] pflash_cfi01: remove unused total_len field Peter Crosthwaite
2012-10-22 7:19 ` [Qemu-devel] [PATCH v2 3/6] pflash_cfi0x: QOMified Peter Crosthwaite
2012-10-22 14:36 ` Peter Maydell
2012-10-22 7:19 ` [Qemu-devel] [PATCH v2 4/6] hw: Model of Primecell pl35x mem controller Peter Crosthwaite
2012-10-22 16:12 ` Peter Maydell
2012-10-22 18:43 ` Peter Crosthwaite
2012-10-22 7:19 ` [Qemu-devel] [PATCH v2 5/6] xilinx_zynq: add pl353 Peter Crosthwaite
2012-10-22 19:06 ` Peter Maydell
2013-11-06 12:46 ` vbalaji
2012-10-22 7:19 ` Peter Crosthwaite [this message]
2012-10-22 16:17 ` [Qemu-devel] [PATCH v2 6/6] pflash_cfi01: Fix debug mode printfery Peter Maydell
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=328e37d8b174defe95f83a914859e2d9d804ae7d.1350889929.git.peter.crosthwaite@xilinx.com \
--to=peter.crosthwaite@xilinx.com \
--cc=edgar.iglesias@gmail.com \
--cc=john.williams@xilinx.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=vineshp@xilinx.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.