The patch titled Subject: bitmap_parselist-move-non-parser-logic-to-helpers-fix has been added to the -mm tree. Its filename is bitmap_parselist-move-non-parser-logic-to-helpers-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/bitmap_parselist-move-non-parser-logic-to-helpers-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/bitmap_parselist-move-non-parser-logic-to-helpers-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: bitmap_parselist-move-non-parser-logic-to-helpers-fix rename grlen to group_len, per Yury Cc: Yury Norov <ynorov@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/bitmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/lib/bitmap.c~bitmap_parselist-move-non-parser-logic-to-helpers-fix +++ a/lib/bitmap.c @@ -482,12 +482,12 @@ EXPORT_SYMBOL(bitmap_print_to_pagebuf); * 0 9 12 18 38 * .........****......****......****...... * ^ ^ ^ ^ - * start off grlen end + * start off group_len end */ struct region { unsigned int start; unsigned int off; - unsigned int grlen; + unsigned int group_len; unsigned int end; }; @@ -499,7 +499,7 @@ static int bitmap_set_region(const struc if (r->end >= nbits) return -ERANGE; - for (start = r->start; start <= r->end; start += r->grlen) + for (start = r->start; start <= r->end; start += r->group_len) bitmap_set(bitmap, start, min(r->end - start + 1, r->off)); return 0; @@ -507,7 +507,7 @@ static int bitmap_set_region(const struc static int bitmap_check_region(const struct region *r) { - if (r->start > r->end || r->grlen == 0 || r->off > r->grlen) + if (r->start > r->end || r->group_len == 0 || r->off > r->group_len) return -EINVAL; return 0; @@ -639,7 +639,7 @@ static int __bitmap_parselist(const char r.start = a; r.off = used_size; - r.grlen = group_size; + r.group_len = group_size; r.end = b; ret = bitmap_check_region(&r); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are kmemleak-skip-scanning-holes-in-the-bss-section-fix.patch mm-mempolicy-make-mbind-return-eio-when-mpol_mf_strict-is-specified-fix.patch ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch mm.patch userfaultfd-sysctl-add-vmunprivileged_userfaultfd-fix.patch mm-compaction-fix-an-undefined-behaviour-fix.patch mm-add-probe_user_read-fix.patch mm-maintain-randomization-of-page-free-lists-checkpatch-fixes.patch bitmap_parselist-move-non-parser-logic-to-helpers-fix.patch fs-binfmt_elfc-remove-unneeded-initialization-of-mm-start_stack.patch linux-next-rejects.patch scripts-atomic-check-atomicssh-dont-assume-that-scripts-are-executable.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.patch