ia64/xen-unstable

changeset 17413:29389310884f

hvmloader: Build with -Werror.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Apr 09 13:52:52 2008 +0100 (2008-04-09)
parents 13cc6b2b8b61
children aa6faa6d8d36
files tools/firmware/Rules.mk tools/firmware/rombios/32bit/tcgbios/tcgbios.c
line diff
     1.1 --- a/tools/firmware/Rules.mk	Wed Apr 09 13:52:34 2008 +0100
     1.2 +++ b/tools/firmware/Rules.mk	Wed Apr 09 13:52:52 2008 +0100
     1.3 @@ -6,6 +6,8 @@ CFLAGS :=
     1.4  
     1.5  include $(XEN_ROOT)/tools/Rules.mk
     1.6  
     1.7 +CFLAGS += -Werror
     1.8 +
     1.9  # Disable PIE/SSP if GCC supports them. They can break us.
    1.10  CFLAGS += $(call cc-option,$(CC),-nopie,)
    1.11  CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
     2.1 --- a/tools/firmware/rombios/32bit/tcgbios/tcgbios.c	Wed Apr 09 13:52:34 2008 +0100
     2.2 +++ b/tools/firmware/rombios/32bit/tcgbios/tcgbios.c	Wed Apr 09 13:52:52 2008 +0100
     2.3 @@ -923,7 +923,7 @@ uint32_t HashLogExtendEvent32(struct hle
     2.4  	struct hlei hlei ; /* HashLogEventInput block */
     2.5  	struct hleo hleo;  /* HashLogEventOutput block */
     2.6  	struct hleei_long *hleei_l = (struct hleei_long *)hleei_s;
     2.7 -	int sh;
     2.8 +	int sh = 0;
     2.9  	uint32_t logdataptr;
    2.10  
    2.11  	if (TCG_IsShutdownPreBootInterface() != 0) {