From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: fix build warning within __kvm_set_memory_region() on s390 Date: Thu, 20 Jan 2011 14:10:08 -0200 Message-ID: <20110120161008.GD5996@amt.cnet> References: <20110117202108.GA2598@osiris.boeblingen.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm@vger.kernel.org, Carsten Otte To: Heiko Carstens Return-path: Received: from mx1.redhat.com ([209.132.183.28]:2507 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753518Ab1ATWYV (ORCPT ); Thu, 20 Jan 2011 17:24:21 -0500 Content-Disposition: inline In-Reply-To: <20110117202108.GA2598@osiris.boeblingen.de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jan 17, 2011 at 09:21:08PM +0100, Heiko Carstens wrote: > From: Heiko Carstens > > Get rid of this warning: > > CC arch/s390/kvm/../../../virt/kvm/kvm_main.o > arch/s390/kvm/../../../virt/kvm/kvm_main.c:596:12: warning: 'kvm_create_dirty_bitmap' defined but not used > > The only caller of the function is within a !CONFIG_S390 section, so add the > same ifdef around kvm_create_dirty_bitmap() as well. > > Signed-off-by: Heiko Carstens Applied, thanks.