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@xxxxxxxx> 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@xxxxxxxxxx Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Acked-by: David Hildenbrand <david@xxxxxxxxxx> Reviewed-by: Andrey Konovalov <andreyknvl@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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@xxxxxxxx are kasan-migrate-copy_user_test-to-kunit.patch