From: Andre Przywara <andre.przywara@amd.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: [PATCH] kvm-userspace: Fix a compiler warning
Date: Wed, 10 Dec 2008 22:41:50 +0100 [thread overview]
Message-ID: <4940379E.9000109@amd.com> (raw)
The following small patch fixes a compiler warning in KVM's vl.c
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
---
diff --git a/qemu/vl.c b/qemu/vl.c
index 7b58605..b489acd 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -4611,7 +4611,7 @@ static int gethugepagesize(void)
{
int ret, fd;
char buf[4096];
- char *needle = "Hugepagesize:";
+ const char *needle = "Hugepagesize:";
char *size;
unsigned long hugepagesize;
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 277-84917
----to satisfy European Law for business letters:
AMD Saxony Limited Liability Company & Co. KG,
Wilschdorfer Landstr. 101, 01109 Dresden, Germany
Register Court Dresden: HRA 4896, General Partner authorized
to represent: AMD Saxony LLC (Wilmington, Delaware, US)
General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
next reply other threads:[~2008-12-10 21:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 21:41 Andre Przywara [this message]
2008-12-24 11:52 ` [PATCH] kvm-userspace: Fix a compiler warning 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=4940379E.9000109@amd.com \
--to=andre.przywara@amd.com \
--cc=avi@redhat.com \
--cc=kvm@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.