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] [IA64] Bug fix: DOM0_GETMEMLIST: do not r

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Bug fix: DOM0_GETMEMLIST: do not return -EINVAL in case of success!
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jul 2006 16:20:33 +0000
Delivery-date: Fri, 28 Jul 2006 09:24:59 -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 awilliam@xxxxxxxxxxx
# Node ID 49cea8b66d4ac07ecb6a5ce2ca9361dc32fc53ac
# Parent  2b815d9acdea512cf50e7fbb3c5490590e85dbd5
[IA64] Bug fix: DOM0_GETMEMLIST: do not return -EINVAL in case of success!

Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>
---
 xen/arch/ia64/xen/dom0_ops.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff -r 2b815d9acdea -r 49cea8b66d4a xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c      Wed Jul 05 20:11:37 2006 -0600
+++ b/xen/arch/ia64/xen/dom0_ops.c      Thu Jul 06 08:18:50 2006 -0600
@@ -164,9 +164,10 @@ long arch_do_dom0_op(dom0_op_t *op, XEN_
         unsigned long nr_pages = op->u.getmemlist.max_pfns & 0xffffffff;
         unsigned long mfn;
 
-        ret = -EINVAL;
-        if ( d == NULL )
-            break;
+        if ( d == NULL ) {
+            ret = -EINVAL;
+            break;
+        }
         for (i = 0 ; i < nr_pages ; i++) {
             pte_t *pte;
 

_______________________________________________
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] [IA64] Bug fix: DOM0_GETMEMLIST: do not return -EINVAL in case of success!, Xen patchbot-unstable <=