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

[Xen-devel] PV driver build error for latest Xen0: #398


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Li, Haicheng" <haicheng.li@xxxxxxxxx>
  • Date: Wed, 23 Jan 2008 22:54:52 +0800
  • Delivery-date: Wed, 23 Jan 2008 06:55:58 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Achdz+hTBo2YueqDTO6jlAV/SdWBkA==
  • Thread-topic: PV driver build error for latest Xen0: #398

Paste the error info here:  
 
 CC [M]
/home/build/nightly/builds_xen_unstable/xen3.2-hg-xen_unstable-16852-200
80123/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.o
/home/build/nightly/builds_xen_unstable/xen3.2-hg-xen_unstable-16852-200
80123/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c: In
function `bp_suspend':
/home/build/nightly/builds_xen_unstable/xen3.2-hg-xen_unstable-16852-200
80123/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c:61:
error: void value not ignored as it ought to be
make[2]: ***
[/home/build/nightly/builds_xen_unstable/xen3.2-hg-xen_unstable-16852-20
080123/unmodified_drivers/linux-2.6/platform-pci/machine_reboot.o] Error
1


And it should be c/s 393 that introduced this issue:

diff -r 7070d34f251c -r 17a1a39df565
include/asm-i386/mach-xen/asm/hypervisor.h
--- a/include/asm-i386/mach-xen/asm/hypervisor.h        Mon Jan 21
11:43:31 2008 +0000
+++ b/include/asm-i386/mach-xen/asm/hypervisor.h        Tue Jan 22
10:09:52 2008 +0000
@@ -175,7 +175,7 @@ HYPERVISOR_block(
        return rc;
 }
 
-static inline int
+static inline void __noreturn
 HYPERVISOR_shutdown(
        unsigned int reason)
 {





-- haicheng

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.