* [folded-merged] kasan-migrate-copy_user_test-to-kunit-fix.patch removed from -mm tree
@ 2024-11-11 8:19 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-11-11 8:19 UTC (permalink / raw)
To: mm-commits, david, andreyknvl, arnd, akpm
The quilt patch titled
Subject: mm: export copy_to_kernel_nofault
has been removed from the -mm tree. Its filename was
kasan-migrate-copy_user_test-to-kunit-fix.patch
This patch was dropped because it was folded into kasan-migrate-copy_user_test-to-kunit.patch
------------------------------------------------------
From: Arnd Bergmann <arnd@arndb.de>
Subject: mm: export copy_to_kernel_nofault
Date: Fri, 18 Oct 2024 15:11:09 +0000
This symbol is now used on the kasan test module, so it needs to be
exported.
ERROR: modpost: "copy_to_kernel_nofault" [mm/kasan/kasan_test.ko] undefined!
Link: https://lkml.kernel.org/r/20241018151112.3533820-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/maccess.c | 1 +
1 file changed, 1 insertion(+)
--- a/mm/maccess.c~kasan-migrate-copy_user_test-to-kunit-fix
+++ a/mm/maccess.c
@@ -82,6 +82,7 @@ Efault:
pagefault_enable();
return -EFAULT;
}
+EXPORT_SYMBOL_GPL(copy_to_kernel_nofault);
long strncpy_from_kernel_nofault(char *dst, const void *unsafe_addr, long count)
{
_
Patches currently in -mm which might be from arnd@arndb.de are
kasan-migrate-copy_user_test-to-kunit.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-11 8:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 8:19 [folded-merged] kasan-migrate-copy_user_test-to-kunit-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.