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 39 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/mchec

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 39 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/mcheck/vmce.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 19 May 2011 21:05:58 +0200
Delivery-date: Thu, 19 May 2011 12:43:04 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1305832309; l=876; 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=ST6BuSHomtuq0z4oqewe2wTYu4s=; b=ZN9Zjy2h1dri41TggDDQJeljCGLigcmOd4olzi6b37z6ppoRd6BGNX7abgXWEF/gQlL y6hVZB/MOpxVjluGw069+QzCBEKxQL2hSLEfMTAq/8rSY96wydzz88biBQssvG5l6KGPM gou8lxPl4vGxghKU6KOwB736oHIv/DyJ8I0=
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 1305824427 -7200
# Node ID a00c741e827f594ebd690a7e3d15d00a03e7bbef
# Parent  ce00a34fc0a36f9c0d85e2ada2f458a6fc107641
gcc-4.6 compile fix: xen/arch/x86/cpu/mcheck/vmce.c

vmce.c: In function 'unmmap_broken_page':
vmce.c:579:11: error: variable 'r_mfn' set but not used 
[-Werror=unused-but-set-variable]

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

diff -r ce00a34fc0a3 -r a00c741e827f xen/arch/x86/cpu/mcheck/vmce.c
--- a/xen/arch/x86/cpu/mcheck/vmce.c    Thu May 19 19:00:26 2011 +0200
+++ b/xen/arch/x86/cpu/mcheck/vmce.c    Thu May 19 19:00:27 2011 +0200
@@ -576,7 +576,7 @@ int is_vmce_ready(struct mcinfo_bank *ba
  */
 int unmmap_broken_page(struct domain *d, mfn_t mfn, unsigned long gfn)
 {
-    mfn_t r_mfn;
+    mfn_t r_mfn __attribute__ ((unused));
     struct p2m_domain *p2m;
     p2m_type_t pt;
 

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

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