WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvmloader: Build with -Werror.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 09 Apr 2008 06:50:20 -0700
Delivery-date: Wed, 09 Apr 2008 06:50:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] hvmloader: Build with -Werror., Xen patchbot-unstable <=