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-devel

[Xen-devel] [PATCH 06 of 45] gcc-4.6 compile fix: tools/firmware/rombios

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 06 of 45] gcc-4.6 compile fix: tools/firmware/rombios/32bit/tcgbios/tcgbios.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 19 May 2011 21:05:25 +0200
Delivery-date: Thu, 19 May 2011 12:12:33 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1305832004; l=1179; s=domk; d=aepfle.de; h=To:From:Date:References:In-Reply-To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:X-RZG-CLASS-ID: X-RZG-AUTH; bh=EV8qnPYLuzHY49FtiUq7cI8KjN4=; b=y+h91yj3mWwCx8j4xNFJj9D0l6rOzB+2IuXImVld6v841HSR2JisxDoRyj2M7UMuX5P 9fxnsgByil0/91hIaKbVfg5gtPKsIoLAkOQojGS9PFyl0W95LNfhPG52//iiHouLuzuTq 7Fh0L+0ON4Y3VLsRFV1m7l4F3L8S0oPVWnw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1305831919@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1305831919@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824387 -7200
# Node ID 6f3f57bd82e41d6f3036d6686ca24dd2bb01739d
# Parent  d30215ff28c8f4c02476a4d41a83e76cb2f1f6fa
gcc-4.6 compile fix: tools/firmware/rombios/32bit/tcgbios/tcgbios.c

tcgbios.c: In function 'HashLogEvent32':
tcgbios.c:1067:11: error: variable 'logdatalen' set but not used 
[-Werror=unused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r d30215ff28c8 -r 6f3f57bd82e4 
tools/firmware/rombios/32bit/tcgbios/tcgbios.c
--- a/tools/firmware/rombios/32bit/tcgbios/tcgbios.c    Thu May 19 18:59:46 
2011 +0200
+++ b/tools/firmware/rombios/32bit/tcgbios/tcgbios.c    Thu May 19 18:59:47 
2011 +0200
@@ -1064,7 +1064,6 @@ uint32_t HashLogEvent32(struct hlei *hle
        uint32_t rc = 0;
        uint16_t size;
        uint32_t logdataptr;
-       uint32_t logdatalen;
        uint32_t hashdataptr;
        uint32_t hashdatalen;
 
@@ -1084,7 +1083,6 @@ uint32_t HashLogEvent32(struct hlei *hle
        if (rc == 0) {
                struct pcpes *pcpes;
                logdataptr = hlei->logdataptr;
-               logdatalen = hlei->logdatalen;
                pcpes = (struct pcpes *)logdataptr;
                if (pcpes->pcrindex != hlei->pcrindex) {
                        rc = (TCG_PC_TPMERROR |

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

<Prev in Thread] Current Thread [Next in Thread>