The patch titled Subject: [PATCH 5/5] UML - fix allocation size has been added to the -mm tree. Its filename is uml-fix-allocation-size.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Subject: [PATCH 5/5] UML - fix allocation size From: Jeff Dike <jdike@xxxxxxxxxxx> Fix an instance of ptr=alloc(sizeof(ptr)). Grepping showed no more instances of this pattern. Also fixed the formatting in the area. Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx> Index: linux-2.6.18-mm/arch/um/drivers/net_kern.c =================================================================== Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/um/drivers/net_kern.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff -puN arch/um/drivers/net_kern.c~uml-fix-allocation-size arch/um/drivers/net_kern.c --- a/arch/um/drivers/net_kern.c~uml-fix-allocation-size +++ a/arch/um/drivers/net_kern.c @@ -561,12 +561,13 @@ static int eth_setup(char *str) int n, err; err = eth_parse(str, &n, &str); - if(err) return(1); + if(err) + return 1; - new = alloc_bootmem(sizeof(new)); + new = alloc_bootmem(sizeof(*new)); if (new == NULL){ printk("eth_init : alloc_bootmem failed\n"); - return(1); + return 1; } INIT_LIST_HEAD(&new->list); @@ -574,7 +575,7 @@ static int eth_setup(char *str) new->init = str; list_add_tail(&new->list, ð_cmd_line); - return(1); + return 1; } __setup("eth", eth_setup); _ Patches currently in -mm which might be from jdike@xxxxxxxxxxx are reduce-max_nr_zones-make-zone_highmem-optional.patch uml-use-klibc-setjmp-longjmp.patch uml-use-array_size-more-assiduously.patch uml-fix-stack-alignment.patch uml-whitespace-fixes.patch uml-fix-handling-of-failed-execs-of-helpers.patch uml-improve-sigbus-diagnostics.patch uml-sigio-cleanups.patch uml-move-signal-handlers-to-arch-code.patch uml-timer-cleanups.patch uml-remove-unused-variable.patch uml-clean-our-set_ether_mac.patch uml-stack-usage-reduction.patch uml-tty-locking.patch split-i386-and-x86_64-ptraceh.patch make-uml-use-ptrace-abih.patch uml-use-mcmodel=kernel-for-x86_64.patch uml-fix-proc-vs-interrupt-context-spinlock-deadlock.patch uml-const-more-data.patch uml-get-rid-of-zone_dma-use.patch uml-fix-missing-x86_64-register-definitions.patch uml-fix-gcov-support.patch uml-use-correct-sigbus-handler.patch uml-add-checkstack-support.patch uml-mark-some-tt-mode-code.patch uml-thread-creation-tidying.patch uml-file-renaming.patch uml-add-an-export.patch uml-fix-sleep-length-bug.patch uml-fix-allocation-size.patch uml-remove-pte_mkexec.patch simplify-update_times-avoid-jiffies-jiffies_64-aliasing-problem-2.patch kill-wall_jiffies.patch const-struct-tty_operations.patch namespaces-utsname-switch-to-using-uts-namespaces.patch introduce-kernel_execve.patch rename-the-provided-execve-functions-to-kernel_execve.patch provide-kernel_execve-on-all-architectures.patch provide-kernel_execve-on-all-architectures-fix.patch remove-the-use-of-_syscallx-macros-in-uml.patch sh64-remove-the-use-of-kernel-syscalls.patch remove-remaining-errno-and-__kernel_syscalls__-references.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