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

[Xen-changelog] [xen-unstable] hvmloader: Build with -Werror.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207745572 -3600
# Node ID 29389310884fbca9fe52737fe9db3d7dd7c86e42
# Parent  13cc6b2b8b61769cbeea4f0d10975f5d8bb5676a
hvmloader: Build with -Werror.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/firmware/Rules.mk                        |    2 ++
 tools/firmware/rombios/32bit/tcgbios/tcgbios.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff -r 13cc6b2b8b61 -r 29389310884f tools/firmware/Rules.mk
--- a/tools/firmware/Rules.mk   Wed Apr 09 13:52:34 2008 +0100
+++ b/tools/firmware/Rules.mk   Wed Apr 09 13:52:52 2008 +0100
@@ -6,6 +6,8 @@ CFLAGS :=
 
 include $(XEN_ROOT)/tools/Rules.mk
 
+CFLAGS += -Werror
+
 # Disable PIE/SSP if GCC supports them. They can break us.
 CFLAGS += $(call cc-option,$(CC),-nopie,)
 CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
diff -r 13cc6b2b8b61 -r 29389310884f 
tools/firmware/rombios/32bit/tcgbios/tcgbios.c
--- a/tools/firmware/rombios/32bit/tcgbios/tcgbios.c    Wed Apr 09 13:52:34 
2008 +0100
+++ b/tools/firmware/rombios/32bit/tcgbios/tcgbios.c    Wed Apr 09 13:52:52 
2008 +0100
@@ -923,7 +923,7 @@ uint32_t HashLogExtendEvent32(struct hle
        struct hlei hlei ; /* HashLogEventInput block */
        struct hleo hleo;  /* HashLogEventOutput block */
        struct hleei_long *hleei_l = (struct hleei_long *)hleei_s;
-       int sh;
+       int sh = 0;
        uint32_t logdataptr;
 
        if (TCG_IsShutdownPreBootInterface() != 0) {

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


 


Rackspace

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