The patch titled Subject: turns out that probe_user_write is used in modular code has been added to the -mm tree. Its filename is maccess-unexport-probe_kernel_write-and-probe_user_write-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/maccess-unexport-probe_kernel_write-and-probe_user_write-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/maccess-unexport-probe_kernel_write-and-probe_user_write-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: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Subject: turns out that probe_user_write is used in modular code Link: http://lkml.kernel.org/r/20200602195741.4faaa348@xxxxxxxxxxxxxxxx Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/maccess.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/maccess.c~maccess-unexport-probe_kernel_write-and-probe_user_write-fix +++ a/mm/maccess.c @@ -244,6 +244,7 @@ long strncpy_from_unsafe_user(char *dst, return ret; } +EXPORT_SYMBOL_GPL(probe_user_write); /** * strnlen_unsafe_user: - Get the size of a user string INCLUDING final NUL. _ Patches currently in -mm which might be from sfr@xxxxxxxxxxxxxxxx are kernel-better-document-the-use_mm-unuse_mm-api-contract-v2-fix.patch kernel-better-document-the-use_mm-unuse_mm-api-contract-fix-2.patch maccess-unexport-probe_kernel_write-and-probe_user_write-fix.patch