The patch titled Subject: lib/test_bitmap: force argument of bitmap_parselist_user() to proper address space has been added to the -mm tree. Its filename is lib-test_bitmap-force-argument-of-bitmap_parselist_user-to-proper-address-space.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lib-test_bitmap-force-argument-of-bitmap_parselist_user-to-proper-address-space.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lib-test_bitmap-force-argument-of-bitmap_parselist_user-to-proper-address-space.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: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Subject: lib/test_bitmap: force argument of bitmap_parselist_user() to proper address space Patch series "gpio: pca953x: Convert to bitmap (extended) API", v2. While converting gpio-pca953x driver to bitmap API, I noticed that we have no function to replace bits. So, that's how patch 7 appears. First 6 patches are preparatory of the test suite (including some warning fixes, etc). Patches 8-9 are preparatory for the GPIO driver to be easier converted to bitmap API, conversion to which happens in patch 10. Patch 11 contains simple indentation fixes. This patch (of 11): Sparse complains: lib/test_bitmap.c:345:58: warning: incorrect type in argument 1 (different address spaces) lib/test_bitmap.c:345:58: expected char const [noderef] <asn:1> *ubuf lib/test_bitmap.c:345:58: got char const *const in Force argument of bitmap_parselist_user() to proper address space. Link: http://lkml.kernel.org/r/20191022172922.61232-2-andriy.shevchenko@xxxxxxxxxxxxxxx Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> Cc: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> Cc: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> Cc: Yury Norov <yury.norov@xxxxxxxxx> Cc: William Breathitt Gray <vilhelm.gray@xxxxxxxxx> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx> Cc: Marek Vasut <marek.vasut+renesas@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/test_bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/test_bitmap.c~lib-test_bitmap-force-argument-of-bitmap_parselist_user-to-proper-address-space +++ a/lib/test_bitmap.c @@ -330,7 +330,7 @@ static void __init __test_bitmap_parseli set_fs(KERNEL_DS); time = ktime_get(); - err = bitmap_parselist_user(ptest.in, len, + err = bitmap_parselist_user((__force const char __user *)ptest.in, len, bmap, ptest.nbits); time = ktime_get() - time; set_fs(orig_fs); _ Patches currently in -mm which might be from andriy.shevchenko@xxxxxxxxxxxxxxx are lib-test_bitmap-force-argument-of-bitmap_parselist_user-to-proper-address-space.patch lib-test_bitmap-undefine-macros-after-use.patch lib-test_bitmap-name-exp_bytes-properly.patch lib-test_bitmap-rename-exp-to-exp1-to-avoid-ambiguous-name.patch lib-test_bitmap-move-exp1-and-exp2-upper-for-others-to-use.patch lib-test_bitmap-fix-comment-about-this-file.patch bitmap-introduce-bitmap_replace-helper.patch gpio-pca953x-remove-redundant-variable-and-check-in-irq-handler.patch gpio-pca953x-use-input-from-regs-structure-in-pca953x_irq_pending.patch gpio-pca953x-convert-to-use-bitmap-api.patch gpio-pca953x-tight-up-indentation.patch