diff mbox series

selftests: breakpoints: Fix compile error with arun_test()

Message ID 20190711081009.31808-1-iwamatsu@nigauri.org (mailing list archive)
State Mainlined
Commit 5b06eeae52c02dd0d9bc8488275a1207d410870b
Headers show
Series selftests: breakpoints: Fix compile error with arun_test() | expand

Commit Message

Nobuhiro Iwamatsu July 11, 2019, 8:10 a.m. UTC
By undefined run_test(), compile of breakpoint_test_arm64.c fails.
This changes arun_test to run_test.

----
reakpoint_test_arm64.c: In function 'main':
breakpoint_test_arm64.c:217:14: warning: implicit declaration of function
    'run_test'; did you mean 'arun_test'? [-Wimplicit-function-declaration]
     result = run_test(size, MIN(size, 8), wr, wp);
              ^~~~~~~~
              arun_test
----

Fixes: 5821ba969511 ("selftests: Add test plan API to kselftest.h and adjust callers")
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c
index 58ed5eeab709..ad41ea69001b 100644
--- 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, 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;