[patch] kvm-userland vl.c compiler warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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@xxxxxxx>

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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux