From: Alexander Graf <agraf@suse.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 4/4] Fix warning in kvm-all.c
Date: Thu, 16 Jul 2009 18:22:51 +0200 [thread overview]
Message-ID: <1247761371-16980-5-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1247761371-16980-4-git-send-email-agraf@suse.de>
This fixes a warning I stumbled across while compiling qemu on PPC64.
---
kvm-all.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kvm-all.c b/kvm-all.c
index 8567ac9..961fa32 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -226,7 +226,7 @@ static int kvm_dirty_pages_log_change(target_phys_addr_t phys_addr,
if (mem == NULL) {
fprintf(stderr, "BUG: %s: invalid parameters " TARGET_FMT_plx "-"
TARGET_FMT_plx "\n", __func__, phys_addr,
- phys_addr + size - 1);
+ (target_phys_addr_t)(phys_addr + size - 1));
return -EINVAL;
}
--
1.6.0.2
next prev parent reply other threads:[~2009-07-16 16:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 16:22 [Qemu-devel] [PATCH 0/4] Add preliminary KVM support for non-embedded PPC Alexander Graf
2009-07-16 16:22 ` [Qemu-devel] [PATCH 1/4] Enable PPC KVM for non-embedded Alexander Graf
2009-07-16 16:22 ` [Qemu-devel] [PATCH 2/4] Set PVR in sregs Alexander Graf
2009-07-16 16:22 ` [Qemu-devel] [PATCH 3/4] Add mp_state to PPC CPU struct Alexander Graf
2009-07-16 16:22 ` Alexander Graf [this message]
[not found] ` <m3skgweej9.fsf@neno.mitica>
2009-07-16 17:20 ` [Qemu-devel] " Alexander Graf
-- strict thread matches above, loose matches on Subject: below --
2009-07-16 17:52 [Qemu-devel] [PATCH 0/4] Add preliminary KVM support for non-embedded PPC v2 Alexander Graf
2009-07-16 17:52 ` [Qemu-devel] [PATCH 1/4] Enable PPC KVM for non-embedded Alexander Graf
2009-07-16 17:52 ` [Qemu-devel] [PATCH 2/4] Set PVR in sregs Alexander Graf
2009-07-16 17:52 ` [Qemu-devel] [PATCH 3/4] Add mp_state to PPC CPU struct Alexander Graf
2009-07-16 17:52 ` [Qemu-devel] [PATCH 4/4] Fix warning in kvm-all.c Alexander Graf
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=1247761371-16980-5-git-send-email-agraf@suse.de \
--to=agraf@suse.de \
--cc=qemu-devel@nongnu.org \
/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 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).