The patch titled Subject: mm-vmalloc-avoid-bogus-wmaybe-uninitialized-warning-fix has been added to the -mm tree. Its filename is mm-vmalloc-avoid-bogus-wmaybe-uninitialized-warning-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-vmalloc-avoid-bogus-wmaybe-uninitialized-warning-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-vmalloc-avoid-bogus-wmaybe-uninitialized-warning-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-vmalloc-avoid-bogus-wmaybe-uninitialized-warning-fix tweak comments Cc: Arnd Bergmann <arnd@xxxxxxxx> Cc: Joel Fernandes <joelaf@xxxxxxxxxx> Cc: Uladzislau Rezki (Sony) <urezki@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmalloc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- a/mm/vmalloc.c~mm-vmalloc-avoid-bogus-wmaybe-uninitialized-warning-fix +++ a/mm/vmalloc.c @@ -913,11 +913,6 @@ adjust_va_to_fit_type(struct vmap_area * unsigned long nva_start_addr, unsigned long size, enum fit_type type) { - /* - * GCC cannot always keep track of whether this variable - * was initialized across many branches, therefore set - * it NULL here to avoid a warning. - */ struct vmap_area *lva = NULL; if (type == FL_FIT_TYPE) { @@ -977,7 +972,7 @@ adjust_va_to_fit_type(struct vmap_area * if (type != FL_FIT_TYPE) { augment_tree_propagate_from(va); - if (lva) + if (lva) /* type == NE_FIT_TYPE */ insert_vmap_area_augment(lva, &va->rb_node, &free_vmap_area_root, &free_vmap_area_list); } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-vmalloc-avoid-bogus-wmaybe-uninitialized-warning-fix.patch scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix.patch ocfs2-add-locking-filter-debugfs-file-fix.patch ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch mm.patch include-linux-pfn_th-remove-pfn_t_to_virt.patch mm-swap-use-rbtree-for-swap_extent-fix.patch mm-section-numbers-use-the-type-unsigned-long-fix.patch proc-use-down_read_killable-mmap_sem-for-proc-pid-map_files-fix.patch mm-oom_killer-add-task-uid-to-info-message-on-an-oom-kill-fix.patch vmcore-add-a-kernel-parameter-novmcoredd-fix.patch vmcore-add-a-kernel-parameter-novmcoredd-fix-fix.patch byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes.patch coda-add-hinting-support-for-partial-file-caching-fix.patch selftests-ptrace-add-a-test-case-for-ptrace_get_syscall_info-checkpatch-fixes.patch resource-fix-locking-in-find_next_iomem_res-fix.patch linux-next-rejects.patch linux-next-git-rejects.patch proc-sysctl-add-shared-variables-for-range-check-fix-2-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch