The patch titled Subject: userfaultfd: selftest: fix compiler warning has been added to the -mm tree. Its filename is userfaultfd-selftest-fix-compiler-warning.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/userfaultfd-selftest-fix-compiler-warning.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/userfaultfd-selftest-fix-compiler-warning.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: Alakesh Haloi <alakesh.haloi@xxxxxxxxx> Subject: userfaultfd: selftest: fix compiler warning Fixes following compiler warning userfaultfd.c: In function `usage': userfaultfd.c:126:2: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(stderr, examples); Link: http://lkml.kernel.org/r/20190527151859.GA3217@xxxxxxxxxxxxxxxxxxx-west-2.compute.internal Signed-off-by: Alakesh Haloi <alakesh.haloi@xxxxxxxxx> Reviewed-by: Peter Xu <peterx@xxxxxxxxxx> Reviewed-by: Mike Rapoport <rppt@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/vm/userfaultfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/vm/userfaultfd.c~userfaultfd-selftest-fix-compiler-warning +++ a/tools/testing/selftests/vm/userfaultfd.c @@ -123,7 +123,7 @@ static void usage(void) fprintf(stderr, "Supported <test type>: anon, hugetlb, " "hugetlb_shared, shmem\n\n"); fprintf(stderr, "Examples:\n\n"); - fprintf(stderr, examples); + fprintf(stderr, "%s", examples); exit(1); } _ Patches currently in -mm which might be from alakesh.haloi@xxxxxxxxx are userfaultfd-selftest-fix-compiler-warning.patch