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 36 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/mem_sh

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 36 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/mem_sharing.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 19 May 2011 21:05:55 +0200
Delivery-date: Thu, 19 May 2011 12:40:30 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1305832281; l=912; 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=xKDaEoYcfuawUvg9zH+CLcRd7qE=; b=kdyBqDdmLODS2axLoDaq3nNjUtrrOIwDfsHgxaJburHQbYU8H0TKymKtDkIkqDBbg4a 2vdp9mz2IpXG9OxLd37xYgqQh5+I+faq4zdez6d9zVLxZRa24MNzDQYXrfu1WEbFu5OEV 0un1enmeFagUG6IWZWoK0n3ngEZX030vvSw=
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 1305824424 -7200
# Node ID 535fce9f4de3e0ecf630b2707d28c8c8bfbc0b67
# Parent  ac80525a292af94a2294dad07d5927167a49f44e
gcc-4.6 compile fix: xen/arch/x86/mm/mem_sharing.c

mem_sharing.c: In function 'mem_sharing_debug_gfn':
mem_sharing.c:379:23: error: variable 'page' set but not used 
[-Werror=unused-but-set-variable]

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

diff -r ac80525a292a -r 535fce9f4de3 xen/arch/x86/mm/mem_sharing.c
--- a/xen/arch/x86/mm/mem_sharing.c     Thu May 19 19:00:22 2011 +0200
+++ b/xen/arch/x86/mm/mem_sharing.c     Thu May 19 19:00:24 2011 +0200
@@ -376,10 +376,8 @@ int mem_sharing_debug_gfn(struct domain 
 {
     p2m_type_t p2mt;
     mfn_t mfn;
-    struct page_info *page;
 
     mfn = gfn_to_mfn(p2m_get_hostp2m(d), gfn, &p2mt);
-    page = mfn_to_page(mfn);
 
     printk("Debug for domain=%d, gfn=%lx, ", 
             d->domain_id, 

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

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