public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] kvm-userland vl.c compiler warning
@ 2009-03-26 13:59 Jes Sorensen
  2009-03-29 14:36 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Jes Sorensen @ 2009-03-26 13:59 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm@vger.kernel.org

[-- 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"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] kvm-userland vl.c compiler warning
  2009-03-26 13:59 [patch] kvm-userland vl.c compiler warning Jes Sorensen
@ 2009-03-29 14:36 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-03-29 14:36 UTC (permalink / raw)
  To: Jes Sorensen; +Cc: kvm@vger.kernel.org

Jes Sorensen wrote:
> Hi,
>
> A minor cosmetic fix to tell the compiler to shut up by including the
> header providing the prototype for dma_helper_init().

I already got this via qemu-svn.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-29 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 13:59 [patch] kvm-userland vl.c compiler warning Jes Sorensen
2009-03-29 14:36 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox