* [PATCH] [PPC64] Fix typo in realloc_memory_ranges()
@ 2009-01-16 18:11 Bernhard Walle
2009-01-19 1:16 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Walle @ 2009-01-16 18:11 UTC (permalink / raw)
To: kexec; +Cc: Bernhard Walle
The base_memory_range should not become memory_range. We need to realloc
base_memory_range to not change the contents of memory. That was a copy & paste
error.
Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
kexec/arch/ppc64/kexec-ppc64.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kexec/arch/ppc64/kexec-ppc64.c b/kexec/arch/ppc64/kexec-ppc64.c
index d8347f1..b0d8acd 100644
--- a/kexec/arch/ppc64/kexec-ppc64.c
+++ b/kexec/arch/ppc64/kexec-ppc64.c
@@ -107,7 +107,7 @@ static int realloc_memory_ranges(void)
if (!memory_range)
goto err;
- base_memory_range = (struct memory_range *) realloc(memory_range, memory_range_len);
+ base_memory_range = (struct memory_range *) realloc(base_memory_range, memory_range_len);
if (!base_memory_range)
goto err;
--
1.6.0.2
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [PPC64] Fix typo in realloc_memory_ranges()
2009-01-16 18:11 [PATCH] [PPC64] Fix typo in realloc_memory_ranges() Bernhard Walle
@ 2009-01-19 1:16 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2009-01-19 1:16 UTC (permalink / raw)
To: Bernhard Walle; +Cc: kexec
On Fri, Jan 16, 2009 at 07:11:23PM +0100, Bernhard Walle wrote:
> The base_memory_range should not become memory_range. We need to realloc
> base_memory_range to not change the contents of memory. That was a copy &
> paste error.
Thanks, applied.
--
Simon Horman
VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-19 1:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 18:11 [PATCH] [PPC64] Fix typo in realloc_memory_ranges() Bernhard Walle
2009-01-19 1:16 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox