From 6223275ce1e720dd47d05de9028383f69557d75d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 14 Sep 2024 09:33:27 +0200 Subject: [PATCH] 5.4-stable patches added patches: selftests-breakpoints-fix-a-typo-of-function-name.patch --- ...akpoints-fix-a-typo-of-function-name.patch | 39 +++++++++++++++++++ queue-5.4/series | 1 + 2 files changed, 40 insertions(+) create mode 100644 queue-5.4/selftests-breakpoints-fix-a-typo-of-function-name.patch 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 index 00000000000..a613e7a7fd2 --- /dev/null +++ b/queue-5.4/selftests-breakpoints-fix-a-typo-of-function-name.patch @@ -0,0 +1,39 @@ +From 5b06eeae52c02dd0d9bc8488275a1207d410870b Mon Sep 17 00:00:00 2001 +From: Masami Hiramatsu +Date: Thu, 31 Oct 2019 21:23:00 +0900 +Subject: selftests: breakpoints: Fix a typo of function name + +From: Masami Hiramatsu + +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 +Signed-off-by: Masami Hiramatsu +Cc: Kees Cook +Reviewed-by: Kees Cook +Signed-off-by: Shuah Khan +Signed-off-by: Samasth Norway Ananda +Signed-off-by: Greg Kroah-Hartman +--- + 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; diff --git a/queue-5.4/series b/queue-5.4/series index c6ecb244d4b..c574edd8c6e 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -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 -- 2.47.3