* - powerpc-fix-memset-size-error.patch removed from -mm tree
@ 2007-11-13 4:07 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2007-11-13 4:07 UTC (permalink / raw)
To: lizf, benh, paulus, mm-commits
The patch titled
POWERPC: fix memset size error
has been removed from the -mm tree. Its filename was
powerpc-fix-memset-size-error.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: POWERPC: fix memset size error
From: Li Zefan <lizf@cn.fujitsu.com>
The size passing to memset is wrong.
Signed-off-by Li Zefan <lizf@cn.fujitsu.com>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/powerpc/kernel/prom_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/powerpc/kernel/prom_init.c~powerpc-fix-memset-size-error arch/powerpc/kernel/prom_init.c
--- a/arch/powerpc/kernel/prom_init.c~powerpc-fix-memset-size-error
+++ a/arch/powerpc/kernel/prom_init.c
@@ -1244,7 +1244,7 @@ static void __init prom_initialize_tce_t
local_alloc_bottom = base;
/* It seems OF doesn't null-terminate the path :-( */
- memset(path, 0, sizeof(path));
+ memset(path, 0, PROM_SCRATCH_SIZE);
/* Call OF to setup the TCE hardware */
if (call_prom("package-to-path", 3, 1, node,
path, PROM_SCRATCH_SIZE-1) == PROM_ERROR) {
_
Patches currently in -mm which might be from lizf@cn.fujitsu.com are
origin.patch
drivers-video-ps3fb-fix-memset-size-error.patch
w1-fix-memset-size-error.patch
arm-fix-memset-size-error.patch
ia64-efi-make-full-use-of-macro-efi_md_size.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-13 4:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-13 4:07 - powerpc-fix-memset-size-error.patch removed from -mm tree akpm
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.