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 19 of 45] gcc-4.6 compile fix: xen/common/grant_table

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 19 of 45] gcc-4.6 compile fix: xen/common/grant_table.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 19 May 2011 21:05:38 +0200
Delivery-date: Thu, 19 May 2011 12:25:20 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1305832124; l=979; 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=hWz9TzQxEzAUpY/6IdxO09VKDRo=; b=bt7ETmbHxpOpqWCZ8ICnIPNG/oHxYVi4e4VX4BZiAUPXzTxUv75knoUg06UEyCiIimd xKy7a1HXQiw+k7M/6olFCWZiQbS/Hc/xYbTOlsHuZ7cCFtIm3pPk0BLodZ7brXgglHsEz KWBDmO+yZ/NeZNRQHqP8aC89xXXtnkJo7oY=
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 1305824403 -7200
# Node ID 5516ec1f996e50d65051441e98674ee8cb799a48
# Parent  982cc1330a16cc27e3c1f16b4ee9874340ec01ed
gcc-4.6 compile fix: xen/common/grant_table.c

grant_table.c: In function '__gnttab_unmap_common':
grant_table.c:768:22: error: variable 'old_pin' set but not used 
[-Werror=unused-but-set-variable]

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

diff -r 982cc1330a16 -r 5516ec1f996e xen/common/grant_table.c
--- a/xen/common/grant_table.c  Thu May 19 19:00:02 2011 +0200
+++ b/xen/common/grant_table.c  Thu May 19 19:00:03 2011 +0200
@@ -765,7 +765,6 @@ __gnttab_unmap_common(
     struct domain   *ld, *rd;
     struct active_grant_entry *act;
     s16              rc = 0;
-    u32              old_pin;
 
     ld = current->domain;
 
@@ -811,7 +810,6 @@ __gnttab_unmap_common(
     spin_lock(&rd->grant_table->lock);
 
     act = &active_entry(rd->grant_table, op->map->ref);
-    old_pin = act->pin;
 
     if ( op->frame == 0 )
     {

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

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