From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: [patch] kvm-userland vl.c compiler warning Date: Thu, 26 Mar 2009 14:59:05 +0100 Message-ID: <49CB8A29.7010007@sgi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060301060702090806090409" Cc: "kvm@vger.kernel.org" To: Avi Kivity Return-path: Received: from relay1.sgi.com ([192.48.179.29]:44416 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754559AbZCZN7L (ORCPT ); Thu, 26 Mar 2009 09:59:11 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------060301060702090806090409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------060301060702090806090409 Content-Type: text/x-patch; name="0001-qemu-dma-prototype.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-qemu-dma-prototype.patch" 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 --- 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" --------------060301060702090806090409--