]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2024 07:33:27 +0000 (09:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2024 07:33:27 +0000 (09:33 +0200)
added patches:
selftests-breakpoints-fix-a-typo-of-function-name.patch

queue-5.4/selftests-breakpoints-fix-a-typo-of-function-name.patch [new file with mode: 0644]
queue-5.4/series

diff --git a/queue-5.4/selftests-breakpoints-fix-a-typo-of-function-name.patch b/queue-5.4/selftests-breakpoints-fix-a-typo-of-function-name.patch
new file mode 100644 (file)
index 0000000..a613e7a
--- /dev/null
@@ -0,0 +1,39 @@
+From 5b06eeae52c02dd0d9bc8488275a1207d410870b Mon Sep 17 00:00:00 2001
+From: Masami Hiramatsu <mhiramat@kernel.org>
+Date: Thu, 31 Oct 2019 21:23:00 +0900
+Subject: selftests: breakpoints: Fix a typo of function name
+
+From: Masami Hiramatsu <mhiramat@kernel.org>
+
+commit 5b06eeae52c02dd0d9bc8488275a1207d410870b upstream.
+
+Since commit 5821ba969511 ("selftests: Add test plan API to kselftest.h
+and adjust callers") accidentally introduced 'a' typo in the front of
+run_test() function, breakpoint_test_arm64.c became not able to be
+compiled.
+
+Remove the 'a' from arun_test().
+
+Fixes: 5821ba969511 ("selftests: Add test plan API to kselftest.h and adjust callers")
+Reported-by: Jun Takahashi <takahashi.jun_s@aa.socionext.com>
+Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
+Cc: Kees Cook <keescook@chromium.org>
+Reviewed-by: Kees Cook <keescook@chromium.org>
+Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
+Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ tools/testing/selftests/breakpoints/breakpoint_test_arm64.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c
++++ b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c
+@@ -109,7 +109,7 @@ static bool set_watchpoint(pid_t pid, in
+       return false;
+ }
+-static bool arun_test(int wr_size, int wp_size, int wr, int wp)
++static bool run_test(int wr_size, int wp_size, int wr, int wp)
+ {
+       int status;
+       siginfo_t siginfo;
index c6ecb244d4b18662d1338fe4c6f168c5f176bcaf..c574edd8c6e4df4c63b651096b528647921f08ad 100644 (file)
@@ -9,3 +9,4 @@ net-ftgmac100-enable-tx-interrupt-to-avoid-tx-timeou.patch
 net-dpaa-pad-packets-to-eth_zlen.patch
 spi-nxp-fspi-fix-the-kasan-report-out-of-bounds-bug.patch
 soundwire-stream-revert-soundwire-stream-fix-programming-slave-ports-for-non-continous-port-maps.patch
+selftests-breakpoints-fix-a-typo-of-function-name.patch