The patch titled POWERPC: fix memset size error has been added to the -mm tree. Its filename is powerpc-fix-memset-size-error.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: POWERPC: fix memset size error From: Li Zefan <lizf@xxxxxxxxxxxxxx> The size passing to memset is wrong. Signed-off-by Li Zefan <lizf@xxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Acked-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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@xxxxxxxxxxxxxx are time-fix-inconsistent-function-names-in-comments.patch git-drm.patch arm-fix-memset-size-error.patch ia64-fix-memset-size-error.patch powerpc-fix-memset-size-error.patch drivers-video-ps3fb-fix-memset-size-error.patch w1-fix-memset-size-error.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html