Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>
To: Bernhard Walle <bwalle@suse.de>
Cc: kexec@lists.infradead.org
Subject: Re: [PATCH] [makedumpfile] Fix missing last node
Date: Mon, 21 May 2007 16:45:18 +0900	[thread overview]
Message-ID: <20070521164518oomichi@mail.jp.nec.com> (raw)
In-Reply-To: <20070518105012.GF16227@suse.de>


Hi Bernhard,

Thank you for your patches and your cooperation.

2007/05/18 12:50:12 +0200, Bernhard Walle <bwalle@suse.de> wrote:
>This patch fixes a typo which results in duplication of the first node (and the
>last node was missing then).

I think the cause of this problem is the other typo.
Does the attached patch fix it ?

Please apply the attached patch with the following makedumpfile:

makedumpfile-1.1.3
 + 2007/05/11 by Ken'ichi, 01-vaddr_to_offset_ia64.patch 
 + 2007/05/11 by Ken'ichi, 02-ia64-discontigmem.patch
 + 2007/05/16 by Bernhard, [Re: Implement memory regions on IA64] patch


Thanks
Ken'ichi Ohmichi

diff -puN makedumpfile.org/makedumpfile.c makedumpfile/makedumpfile.c
--- makedumpfile.org/makedumpfile.c	2007-05-21 20:54:04.000000000 +0900
+++ makedumpfile/makedumpfile.c	2007-05-21 20:54:16.000000000 +0900
@@ -2121,7 +2121,7 @@ pgdat3:
 	if (node == 0)
 		return pgdat;
 
-	for (i = 1; i < node; i++) {
+	for (i = 1; i <= node; i++) {
 		if (!readmem(info, pgdat + OFFSET(pglist_data.pgdat_next),
 		    &pgdat, sizeof pgdat))
 			goto pgdat4;
_

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2007-05-21  7:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18 10:50 [PATCH] [makedumpfile] Fix missing last node Bernhard Walle
2007-05-21  7:45 ` Ken'ichi Ohmichi [this message]
2007-05-21  9:15   ` Bernhard Walle

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=20070521164518oomichi@mail.jp.nec.com \
    --to=oomichi@mxs.nes.nec.co.jp \
    --cc=bwalle@suse.de \
    --cc=kexec@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox