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] [XEN] Fix my change to XENVER_pagesize hy

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN] Fix my change to XENVER_pagesize hypercall --
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jun 2006 12:50:22 +0000
Delivery-date: Tue, 27 Jun 2006 05:53:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kfraser@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID ab63f44d948eb683edcc913205fb3bc126006cab
# Parent  23136423a76586c6b9f1f7a69fa39d377d526c9e
[XEN] Fix my change to XENVER_pagesize hypercall --
arg check wrong way round.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/kernel.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 23136423a765 -r ab63f44d948e xen/common/kernel.c
--- a/xen/common/kernel.c       Tue Jun 27 11:29:29 2006 +0100
+++ b/xen/common/kernel.c       Tue Jun 27 11:35:29 2006 +0100
@@ -214,7 +214,7 @@ long do_xen_version(int cmd, XEN_GUEST_H
 
     case XENVER_pagesize:
     {
-        return (guest_handle_is_null(arg) ? -EINVAL : PAGE_SIZE);
+        return (!guest_handle_is_null(arg) ? -EINVAL : PAGE_SIZE);
     }
 
     }

_______________________________________________
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] [XEN] Fix my change to XENVER_pagesize hypercall --, Xen patchbot-unstable <=