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

[Xen-changelog] [xen-3.2-testing] grant_table: Remove compat-shim BUG_ON

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] grant_table: Remove compat-shim BUG_ON() which can fail if
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jul 2008 23:40:48 -0700
Delivery-date: Wed, 30 Jul 2008 23:40:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217427959 -3600
# Node ID 7651b1d93492647dad389cbbd448b17c7c4d13ca
# Parent  f830b47149a4ccd7c0b0be0eaa41add653c90c36
grant_table: Remove compat-shim BUG_ON() which can fail if
GMFN==INVALID (~0UL).

Found by Diego Ongaro <diego.ongaro@xxxxxxxxxx>

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   18177:9ee2e41a68a1fc05d7fd15f00d87ebd0e1818b93
xen-unstable date:        Wed Jul 30 15:25:09 2008 +0100
---
 xen/common/compat/grant_table.c |    1 -
 1 files changed, 1 deletion(-)

diff -r f830b47149a4 -r 7651b1d93492 xen/common/compat/grant_table.c
--- a/xen/common/compat/grant_table.c   Tue Jul 29 16:13:15 2008 +0100
+++ b/xen/common/compat/grant_table.c   Wed Jul 30 15:25:59 2008 +0100
@@ -138,7 +138,6 @@ int compat_grant_table_op(unsigned int c
                         for ( i = 0; i < (_s_)->nr_frames; ++i ) \
                         { \
                             unsigned int frame = (_s_)->frame_list.p[i]; \
-                            BUG_ON(frame != (_s_)->frame_list.p[i]); \
                             (void)__copy_to_compat_offset((_d_)->frame_list, 
i, &frame, 1); \
                         } \
                     } \

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] grant_table: Remove compat-shim BUG_ON() which can fail if, Xen patchbot-3.2-testing <=