* [folded-merged] lib-add-test-for-bitmap_parse-fix-2.patch removed from -mm tree
@ 2020-02-04 1:13 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-02-04 1:13 UTC (permalink / raw)
To: andriy.shevchenko, linux, linux, mm-commits, yury.norov
The patch titled
Subject: lib/test_bitmap: fix address space when test user buffer
has been removed from the -mm tree. Its filename was
lib-add-test-for-bitmap_parse-fix-2.patch
This patch was dropped because it was folded into lib-add-test-for-bitmap_parse.patch
------------------------------------------------------
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: lib/test_bitmap: fix address space when test user buffer
Force address space to avoid the following warning:
lib/test_bitmap.c:461:53: warning: incorrect type in argument 1 (different address spaces)
lib/test_bitmap.c:461:53: expected char const [noderef] <asn:1> *ubuf
lib/test_bitmap.c:461:53: got char const *in
Link: http://lkml.kernel.org/r/20200109103601.45929-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/test_bitmap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/lib/test_bitmap.c~lib-add-test-for-bitmap_parse-fix-2
+++ a/lib/test_bitmap.c
@@ -450,7 +450,8 @@ static void __init __test_bitmap_parse(i
set_fs(KERNEL_DS);
time = ktime_get();
- err = bitmap_parse_user(test.in, len, bmap, test.nbits);
+ err = bitmap_parse_user((__force const char __user *)test.in, len,
+ bmap, test.nbits);
time = ktime_get() - time;
set_fs(orig_fs);
} else {
_
Patches currently in -mm which might be from andriy.shevchenko@linux.intel.com are
lib-add-test-for-bitmap_parse.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-04 1:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 1:13 [folded-merged] lib-add-test-for-bitmap_parse-fix-2.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).