From: Jes Sorensen <jes@sgi.com>
To: Avi Kivity <avi@redhat.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: [patch] kvm-userland vl.c compiler warning
Date: Thu, 26 Mar 2009 14:59:05 +0100 [thread overview]
Message-ID: <49CB8A29.7010007@sgi.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 143 bytes --]
Hi,
A minor cosmetic fix to tell the compiler to shut up by including the
header providing the prototype for dma_helper_init().
Cheers,
Jes
[-- Attachment #2: 0001-qemu-dma-prototype.patch --]
[-- Type: text/x-patch, Size: 539 bytes --]
vl.c needs to include dma.h which provides the prototype for
dma_helper_init() to avoid a compiler warning.
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
qemu/vl.c | 1 +
1 file changed, 1 insertion(+)
Index: kvm-userspace.git/qemu/vl.c
===================================================================
--- kvm-userspace.git.orig/qemu/vl.c
+++ kvm-userspace.git/qemu/vl.c
@@ -154,6 +154,7 @@
#include "kvm.h"
#include "balloon.h"
#include "qemu-kvm.h"
+#include "dma.h"
#include "hw/device-assignment.h"
#include "disas.h"
next reply other threads:[~2009-03-26 13:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 13:59 Jes Sorensen [this message]
2009-03-29 14:36 ` [patch] kvm-userland vl.c 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=49CB8A29.7010007@sgi.com \
--to=jes@sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox