From: Greg Kroah-Hartman Date: Wed, 28 Jul 2021 11:54:01 +0000 (+0200) Subject: 4.14-stable patches X-Git-Tag: v5.10.54~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4122c838e6d1f914603ef3f8219ad4beee930ceb;p=thirdparty%2Fkernel%2Fstable-queue.git 4.14-stable patches added patches: selftest-fix-build-error-in-tools-testing-selftests-vm-userfaultfd.c.patch --- diff --git a/queue-4.14/selftest-fix-build-error-in-tools-testing-selftests-vm-userfaultfd.c.patch b/queue-4.14/selftest-fix-build-error-in-tools-testing-selftests-vm-userfaultfd.c.patch new file mode 100644 index 00000000000..56b8e3e79f3 --- /dev/null +++ b/queue-4.14/selftest-fix-build-error-in-tools-testing-selftests-vm-userfaultfd.c.patch @@ -0,0 +1,27 @@ +From a328a9deaa6d57cedbc05ba47c0b1e4a8f346b6a Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +Date: Wed, 28 Jul 2021 13:51:58 +0200 +Subject: selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c + +From: Greg Kroah-Hartman + +When backporting 0db282ba2c12 ("selftest: use mmap instead of +posix_memalign to allocate memory") to this stable branch, I forgot a { +breaking the build. + +Signed-off-by: Greg Kroah-Hartman +--- + tools/testing/selftests/vm/userfaultfd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/tools/testing/selftests/vm/userfaultfd.c ++++ b/tools/testing/selftests/vm/userfaultfd.c +@@ -131,7 +131,7 @@ static void anon_allocate_area(void **al + { + *alloc_area = mmap(NULL, nr_pages * page_size, PROT_READ | PROT_WRITE, + MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); +- if (*alloc_area == MAP_FAILED) ++ if (*alloc_area == MAP_FAILED) { + fprintf(stderr, "mmap of anonymous memory failed"); + *alloc_area = NULL; + } diff --git a/queue-4.14/series b/queue-4.14/series new file mode 100644 index 00000000000..f342edfa21b --- /dev/null +++ b/queue-4.14/series @@ -0,0 +1 @@ +selftest-fix-build-error-in-tools-testing-selftests-vm-userfaultfd.c.patch diff --git a/queue-4.19/series b/queue-4.19/series new file mode 100644 index 00000000000..f342edfa21b --- /dev/null +++ b/queue-4.19/series @@ -0,0 +1 @@ +selftest-fix-build-error-in-tools-testing-selftests-vm-userfaultfd.c.patch diff --git a/queue-5.4/series b/queue-5.4/series new file mode 100644 index 00000000000..f342edfa21b --- /dev/null +++ b/queue-5.4/series @@ -0,0 +1 @@ +selftest-fix-build-error-in-tools-testing-selftests-vm-userfaultfd.c.patch