]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2024 07:32:32 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2024 07:32:32 +0000 (09:32 +0200)
added patches:
selftests-kcmp-remove-call-to-ksft_set_plan.patch
selftests-vm-remove-call-to-ksft_set_plan.patch

queue-4.19/selftests-kcmp-remove-call-to-ksft_set_plan.patch [new file with mode: 0644]
queue-4.19/selftests-vm-remove-call-to-ksft_set_plan.patch [new file with mode: 0644]
queue-4.19/series

diff --git a/queue-4.19/selftests-kcmp-remove-call-to-ksft_set_plan.patch b/queue-4.19/selftests-kcmp-remove-call-to-ksft_set_plan.patch
new file mode 100644 (file)
index 0000000..61d5684
--- /dev/null
@@ -0,0 +1,32 @@
+From stable+bounces-76111-greg=kroah.com@vger.kernel.org Fri Sep 13 22:03:33 2024
+From: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
+Date: Fri, 13 Sep 2024 13:02:40 -0700
+Subject: selftests/kcmp: remove call to ksft_set_plan()
+To: stable@vger.kernel.org
+Cc: gautammenghani201@gmail.com, skhan@linuxfoundation.org, usama.anjum@collabora.com, saeed.mirzamohammadi@oracle.com, samasth.norway.ananda@oracle.com
+Message-ID: <20240913200249.4060165-3-samasth.norway.ananda@oracle.com>
+
+From: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
+
+The function definition for ksft_set_plan() is not present in linux-4.19.y.
+kcmp_test selftest fails to compile because of this.
+
+Fixes: 32b0469d13eb ("selftests/kcmp: Make the test output consistent and clear")
+Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
+Acked-by: Shuah Khan <skhan@linuxfoundation.org>
+Reviewed-by: Saeed Mirzamohammadi <saeed.mirzamohammadi@oracle.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ tools/testing/selftests/kcmp/kcmp_test.c |    1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/tools/testing/selftests/kcmp/kcmp_test.c
++++ b/tools/testing/selftests/kcmp/kcmp_test.c
+@@ -89,7 +89,6 @@ int main(int argc, char **argv)
+               int ret;
+               ksft_print_header();
+-              ksft_set_plan(3);
+               fd2 = open(kpath, O_RDWR);
+               if (fd2 < 0) {
diff --git a/queue-4.19/selftests-vm-remove-call-to-ksft_set_plan.patch b/queue-4.19/selftests-vm-remove-call-to-ksft_set_plan.patch
new file mode 100644 (file)
index 0000000..ae8faf6
--- /dev/null
@@ -0,0 +1,33 @@
+From stable+bounces-76110-greg=kroah.com@vger.kernel.org Fri Sep 13 22:03:33 2024
+From: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
+Date: Fri, 13 Sep 2024 13:02:39 -0700
+Subject: selftests/vm: remove call to ksft_set_plan()
+To: stable@vger.kernel.org
+Cc: gautammenghani201@gmail.com, skhan@linuxfoundation.org, usama.anjum@collabora.com, saeed.mirzamohammadi@oracle.com, samasth.norway.ananda@oracle.com
+Message-ID: <20240913200249.4060165-2-samasth.norway.ananda@oracle.com>
+
+From: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
+
+The function definition for ksft_set_plan() is not present in linux-4.19.y.
+compaction_test selftest fails to compile because of this.
+
+Fixes: 9a21701edc41 ("selftests/mm: conform test to TAP format output")
+Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
+Reviewed-by: Saeed Mirzamohammadi <saeed.mirzamohammadi@oracle.com>
+Acked-by: Shuah Khan <skhan@linuxfoundation.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ tools/testing/selftests/vm/compaction_test.c |    2 --
+ 1 file changed, 2 deletions(-)
+
+--- a/tools/testing/selftests/vm/compaction_test.c
++++ b/tools/testing/selftests/vm/compaction_test.c
+@@ -183,8 +183,6 @@ int main(int argc, char **argv)
+       if (prereq() != 0)
+               return ksft_exit_pass();
+-      ksft_set_plan(1);
+-
+       lim.rlim_cur = RLIM_INFINITY;
+       lim.rlim_max = RLIM_INFINITY;
+       if (setrlimit(RLIMIT_MEMLOCK, &lim))
index 524529f570c729f02763f5965d902fedb5bd8ce4..9ccee0e6e490b304c4f1d3fdbb24fa53919e1c41 100644 (file)
@@ -10,3 +10,5 @@ net-mlx5-update-the-list-of-the-pci-supported-device.patch
 net-ftgmac100-enable-tx-interrupt-to-avoid-tx-timeou.patch
 net-dpaa-pad-packets-to-eth_zlen.patch
 soundwire-stream-revert-soundwire-stream-fix-programming-slave-ports-for-non-continous-port-maps.patch
+selftests-vm-remove-call-to-ksft_set_plan.patch
+selftests-kcmp-remove-call-to-ksft_set_plan.patch