From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] If DEBUG_MEMREG is defined, build fails. Date: Wed, 02 Dec 2009 15:03:39 +0200 Message-ID: <4B1665AB.8050103@redhat.com> References: <20091201152700.B17DD14C03A@msa103.auone-net.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Kusanagi Kouichi Return-path: Received: from mx1.redhat.com ([209.132.183.28]:11559 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbZLBNDj (ORCPT ); Wed, 2 Dec 2009 08:03:39 -0500 In-Reply-To: <20091201152700.B17DD14C03A@msa103.auone-net.jp> Sender: kvm-owner@vger.kernel.org List-ID: On 12/01/2009 05:27 PM, Kusanagi Kouichi wrote: > If DEBUG_MEMREG is defined, build fails as follows. > > CC x86_64-softmmu/kvm-all.o > cc1: warnings being treated as errors > In file included from kvm-all.c:1094: > qemu-kvm.c: In function 'set_gsi': > qemu-kvm.c:127: error: too few arguments for format > qemu-kvm.c: In function 'clear_gsi': > qemu-kvm.c:137: error: too few arguments for format > qemu-kvm.c: In function 'kvm_register_phys_mem': > qemu-kvm.c:577: error: format '%lx' expects type 'long unsigned int', but argument 9 has type '__u32' > qemu-kvm.c: In function 'kvm_unregister_memory_area': > qemu-kvm.c:641: error: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'uint64_t' > make[1]: *** [kvm-all.o] Error 1 > make: *** [subdir-x86_64-softmmu] Error 2 > Applied, thanks. -- error compiling committee.c: too many arguments to function