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-unstable] grant_table: Remove compat-shim BUG_ON()

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] grant_table: Remove compat-shim BUG_ON() which can fail if
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jul 2008 12:30:08 -0700
Delivery-date: Wed, 30 Jul 2008 12:29:53 -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 1217427909 -3600
# Node ID 9ee2e41a68a1fc05d7fd15f00d87ebd0e1818b93
# Parent  bfe5ad83a491be5875fa1051b653b339d42748fe
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/common/compat/grant_table.c |    1 -
 1 files changed, 1 deletion(-)

diff -r bfe5ad83a491 -r 9ee2e41a68a1 xen/common/compat/grant_table.c
--- a/xen/common/compat/grant_table.c   Wed Jul 30 10:55:06 2008 +0100
+++ b/xen/common/compat/grant_table.c   Wed Jul 30 15:25:09 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-unstable] grant_table: Remove compat-shim BUG_ON() which can fail if, Xen patchbot-unstable <=