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 42 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/p2m.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 42 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/p2m.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 19 May 2011 21:06:01 +0200
Delivery-date: Thu, 19 May 2011 12:45:43 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1305832337; l=808; 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=JxoVoN/xzdUioKILvO9tvHWYi/g=; b=vTSjrMLmQi4Ejdn0zhicvukT+4ZB80l/gXeg6MGfVsdIQWH7AdXtFmmHR4TjLuRnnLc KQuWGdzxD9nr42GXMHcXAbLV50aWDqq0E3y9JRb5Jy92r0NhBEYVC7Dss64Phuq+ds6Ph ivNzg59KvogwXQmIuXP+fgq+Wy1kkUWkT4o=
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 1305824431 -7200
# Node ID 2e6175d0996618f80fd26106257d6cb8b61b046d
# Parent  881c89e72ed5955fee3bd90bd200e78a41f124db
gcc-4.6 compile fix: xen/arch/x86/mm/p2m.c

p2m.c: In function 'p2m_remove_page':
p2m.c:324:11: error: variable 'mfn_return' set but not used 
[-Werror=unused-but-set-variable]

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

diff -r 881c89e72ed5 -r 2e6175d09966 xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c     Thu May 19 19:00:30 2011 +0200
+++ b/xen/arch/x86/mm/p2m.c     Thu May 19 19:00:31 2011 +0200
@@ -321,7 +321,7 @@ p2m_remove_page(struct p2m_domain *p2m, 
                 unsigned int page_order)
 {
     unsigned long i;
-    mfn_t mfn_return;
+    mfn_t mfn_return __attribute__ ((unused));
     p2m_type_t t;
     p2m_access_t a;
 

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

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