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-4.0-testing] x86: Replace missing return stmt accid

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86: Replace missing return stmt accidentally removed by 21513:649372e3d46a
From: Xen patchbot-4.0-testing <patchbot@xxxxxxx>
Date: Thu, 04 Aug 2011 13:11:08 +0100
Delivery-date: Thu, 04 Aug 2011 05:11:13 -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@xxxxxxx>
# Date 1311804751 -3600
# Node ID f09ab04f614e108770a3c44084195d7522fb6997
# Parent  2e78e0ce1f3125f0e79cc00ed8f54fe2ad2d0a59
x86: Replace missing return stmt accidentally removed by 21513:649372e3d46a

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 2e78e0ce1f31 -r f09ab04f614e xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Wed Jul 20 15:30:55 2011 +0100
+++ b/xen/arch/x86/smpboot.c    Wed Jul 27 23:12:31 2011 +0100
@@ -1480,6 +1480,7 @@
        if ( (acpi_id >= MAX_MADT_ENTRIES) ||
             (apic_id >= MAX_APICS) ||
             (pxm >= 256) )
+               return -EINVAL;
 
        /* Detect if the cpu has been added before */
        if ( x86_acpiid_to_apicid[acpi_id] != 0xff)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86: Replace missing return stmt accidentally removed by 21513:649372e3d46a, Xen patchbot-4 . 0-testing <=