[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] grant_table: Remove compat-shim BUG_ON() which can fail if
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |