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-3.0.4-testing] Fix parse_size_and_unit() breakage i

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.0.4-testing] Fix parse_size_and_unit() breakage in xen-3.0.4-testing (kdump broken)
From: "Xen patchbot-3.0.4-testing" <patchbot-3.0.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Jan 2007 07:15:14 -0800
Delivery-date: Wed, 10 Jan 2007 07:15:11 -0800
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 Steven Hand <steven@xxxxxxxxxxxxx>
# Date 1168428853 0
# Node ID 53b1060a26df92845ced5970f65e4359ada0231e
# Parent  c32abbaccdac14d49350b5d63702b82d71662c4e
Fix parse_size_and_unit() breakage in xen-3.0.4-testing (kdump broken)

Kdump has been broken since xen-3.0.4-testing.hg-13109.
Many thanks to Hiromichi Itou for tracking this down.

Signed-Off-By: Magnus Damm <magnus@xxxxxxxxxxxxx>
---
 xen/common/lib.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c32abbaccdac -r 53b1060a26df xen/common/lib.c
--- a/xen/common/lib.c  Tue Jan 09 19:24:12 2007 +0000
+++ b/xen/common/lib.c  Wed Jan 10 11:34:13 2007 +0000
@@ -454,7 +454,7 @@ unsigned long long parse_size_and_unit(c
        case 'K': case 'k':
                ret <<= 10;
        case 'B': case 'b':
-               s++;
+               s1++;
                break;
        default:
                ret <<= 10; /* default to kB */

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.0.4-testing] Fix parse_size_and_unit() breakage in xen-3.0.4-testing (kdump broken), Xen patchbot-3.0.4-testing <=