The patch titled Subject: mm/memblock.c: fix index adjustment error in __next_mem_range_rev() has been added to the -mm tree. Its filename is mm-memblockc-fix-index-adjustment-error-in-__next_mem_range_rev.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-memblockc-fix-index-adjustment-error-in-__next_mem_range_rev.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-memblockc-fix-index-adjustment-error-in-__next_mem_range_rev.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/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: zijun_hu <zijun_hu@xxxxxxx> Subject: mm/memblock.c: fix index adjustment error in __next_mem_range_rev() Fix region index adjustment error when parameter type_b of __next_mem_range_rev() == NULL. Signed-off-by: zijun_hu <zijun_hu@xxxxxxx> Cc: Alexander Kuleshov <kuleshovmail@xxxxxxxxx> Cc: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> Cc: Tang Chen <tangchen@xxxxxxxxxxxxxx> Cc: Wei Yang <weiyang@xxxxxxxxxxxxxxxxxx> Cc: Tang Chen <tangchen@xxxxxxxxxxxxxx> Cc: Richard Leitner <dev@xxxxxxxxxx> Cc: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/memblock.c~mm-memblockc-fix-index-adjustment-error-in-__next_mem_range_rev mm/memblock.c --- a/mm/memblock.c~mm-memblockc-fix-index-adjustment-error-in-__next_mem_range_rev +++ a/mm/memblock.c @@ -1027,7 +1027,7 @@ void __init_memblock __next_mem_range_re *out_end = m_end; if (out_nid) *out_nid = m_nid; - idx_a++; + idx_a--; *idx = (u32)idx_a | (u64)idx_b << 32; return; } _ Patches currently in -mm which might be from zijun_hu@xxxxxxx are mm-memblockc-fix-index-adjustment-error-in-__next_mem_range_rev.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