From: Jes Sorensen <jes@sgi.com>
To: kvm-ia64@vger.kernel.org
Subject: [patch] fix compiler warning for ia64
Date: Fri, 05 Sep 2008 14:24:14 +0000 [thread overview]
Message-ID: <48C1410E.5060207@sgi.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
Hi,
Small patch, fixing the types to avoid some unncessary warnings on ia64.
Cheers,
Jes
[-- Attachment #2: 0103-qemu-ia64-signness.patch --]
[-- Type: text/plain, Size: 981 bytes --]
Fixed types to match rest of qemu to eliminate silly compiler warning.
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
qemu/hw/ipf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: kvm-userspace.git/qemu/hw/ipf.c
===================================================================
--- kvm-userspace.git.orig/qemu/hw/ipf.c
+++ kvm-userspace.git/qemu/hw/ipf.c
@@ -1,5 +1,5 @@
/*
- * Itanium Platforma Emulator derived from QEMU PC System Emulator
+ * Itanium Platform Emulator derived from QEMU PC System Emulator
*
* Copyright (c) 2003-2004 Fabrice Bellard
*
@@ -456,9 +456,9 @@
int r;
unsigned long image_size;
char *image = NULL;
- char *fw_image_start;
+ uint8_t *fw_image_start;
ram_addr_t fw_offset = qemu_ram_alloc(GFW_SIZE);
- char *fw_start = phys_ram_base + fw_offset;
+ uint8_t *fw_start = phys_ram_base + fw_offset;
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, FW_FILENAME);
image = read_image(buf, &image_size );
WARNING: multiple messages have this Message-ID (diff)
From: Jes Sorensen <jes@sgi.com>
To: Avi Kivity <avi@qumranet.com>,
kvm@vger.kernel.org, kvm-ia64@vger.kernel.org
Subject: [patch] fix compiler warning for ia64
Date: Fri, 05 Sep 2008 16:24:14 +0200 [thread overview]
Message-ID: <48C1410E.5060207@sgi.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
Hi,
Small patch, fixing the types to avoid some unncessary warnings on ia64.
Cheers,
Jes
[-- Attachment #2: 0103-qemu-ia64-signness.patch --]
[-- Type: text/plain, Size: 981 bytes --]
Fixed types to match rest of qemu to eliminate silly compiler warning.
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
qemu/hw/ipf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: kvm-userspace.git/qemu/hw/ipf.c
===================================================================
--- kvm-userspace.git.orig/qemu/hw/ipf.c
+++ kvm-userspace.git/qemu/hw/ipf.c
@@ -1,5 +1,5 @@
/*
- * Itanium Platforma Emulator derived from QEMU PC System Emulator
+ * Itanium Platform Emulator derived from QEMU PC System Emulator
*
* Copyright (c) 2003-2004 Fabrice Bellard
*
@@ -456,9 +456,9 @@
int r;
unsigned long image_size;
char *image = NULL;
- char *fw_image_start;
+ uint8_t *fw_image_start;
ram_addr_t fw_offset = qemu_ram_alloc(GFW_SIZE);
- char *fw_start = phys_ram_base + fw_offset;
+ uint8_t *fw_start = phys_ram_base + fw_offset;
snprintf(buf, sizeof(buf), "%s/%s", bios_dir, FW_FILENAME);
image = read_image(buf, &image_size );
next reply other threads:[~2008-09-05 14:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-05 14:24 Jes Sorensen [this message]
2008-09-05 14:24 ` [patch] fix compiler warning for ia64 Jes Sorensen
2008-09-07 6:29 ` Avi Kivity
2008-09-07 6:29 ` Avi Kivity
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=48C1410E.5060207@sgi.com \
--to=jes@sgi.com \
--cc=kvm-ia64@vger.kernel.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 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.