From: Ian Campbell <Ian.Campbell@XenSource.com>
To: Magnus Damm <magnus@valinux.co.jp>
Cc: Christoph Egger <Christoph.Egger@amd.com>,
xen-devel@lists.xensource.com, Hiromichi Itou <ito@begi.net>
Subject: Re: [PATCH] Fix parse_size_and_unit() breakage in xen-3.0.4-testing (kdump broken)
Date: Wed, 10 Jan 2007 09:24:22 +0000 [thread overview]
Message-ID: <1168421062.24570.20.camel@localhost.localdomain> (raw)
In-Reply-To: <20070110084215.13837.79290.sendpatchset@localhost>
On Wed, 2007-01-10 at 17:42 +0900, Magnus Damm wrote:
> 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@valinux.co.jp>
I applied a similar fix to xen-unstable.hg in 13282:9865145e53eb. I'll
get it pulled into xen-3.0.4-testing.hg.
> --- 0001/xen/common/lib.c
> +++ work/xen/common/lib.c 2007-01-10 11:18:38.000000000 +0900
> @@ -442,7 +442,7 @@ s64 __moddi3(s64 a, s64 b)
> unsigned long long parse_size_and_unit(const char *s, const char **ps)
> {
> unsigned long long ret;
> - const char *s1;
> + const char *s1 = NULL;
>
> ret = simple_strtoull(s, &s1, 0);
Are you sure this bit is necessary? simple_strtoull always initialises
&s1.
Ian.
next prev parent reply other threads:[~2007-01-10 9:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-10 8:42 [PATCH] Fix parse_size_and_unit() breakage in xen-3.0.4-testing (kdump broken) Magnus Damm
2007-01-10 9:24 ` Ian Campbell [this message]
2007-01-11 1:25 ` Magnus Damm
2007-01-10 11:35 ` Steven Hand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1168421062.24570.20.camel@localhost.localdomain \
--to=ian.campbell@xensource.com \
--cc=Christoph.Egger@amd.com \
--cc=ito@begi.net \
--cc=magnus@valinux.co.jp \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.