selftests: breakpoints: Fix a typo of function name
PATCH 1/1 selftests: breakpoints: Fix a typo of function name
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 <[email protected]>
Signed-off-by Masami Hiramatsu <[email protected]>
Cc Kees Cook <[email protected]>
--- .../selftests/breakpoints/breakpoint_test_arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/breakpoints/breakpoint_test_arm64.c +1 -1
@@ -109,7 +109,7 @@ static bool set_watchpoint(pid_t pid, int size, int wp)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;
Quoted 11 lines · Masami Hiramatsu
Since commit
5821ba969511("selftests: Add test plan API tokselftest.hand adjust callers") accidentally introduced 'a' typo in the front ofrun_test()function,breakpoint_test_arm64.cbecame 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 <[email protected]>Signed-off-by Masami Hiramatsu <[email protected]>Cc Kees Cook <[email protected]>
Argh, apologies! Yes, thank you for catching this.
Reviewed-by Kees Cook <[email protected]>
-Kees
Quoted 18 lines
--- .../selftests/breakpoints/breakpoint_test_arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/testing/selftests/breakpoints/breakpoint_test_arm64.c +1
-1@@ -109,7 +109,7 @@ static bool set_watchpoint(pid_t pid, int size, int wp)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;
Signature · 1 line
Kees Cook