From: Keir Fraser Subject: Re: PV drvier build failure -- RE: First release candidate for Xen 3.2.1 Date: Tue, 25 Mar 2008 10:37:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Li, Haicheng" , xen-devel List-Id: xen-devel@lists.xenproject.org > /home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/plat > form-pci/machine_reboot.c:61: error: void value not ignored as it ought > to be > make[2]: *** > [/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/pla > tform-pci/machine_reboot.o] Error 1 > make[1]: *** > [/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/pla > tform-pci] Error 2 > make: *** > [_module_/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux > -2.6] Error 2 Fixed by 3.2-testing changeset 16822. Thanks, Keir > > in patform-pci/machine_reboot.c:61: > static int bp_suspend(void) > { > int suspend_cancelled; > > BUG_ON(!irqs_disabled()); > > suspend_cancelled = HYPERVISOR_shutdown(SHUTDOWN_suspend); > > > while in include/asm/hypervisor.h:259, HYPERVISOR_shutdown is defined as > void type: > > static inline void /*__noreturn*/ > HYPERVISOR_shutdown( > unsigned int reason) > > > > -- haicheng