kselftest: arm64: Fix exit code of sve-ptrace
PATCH 1/1 kselftest: arm64: Fix exit code of sve-ptrace
We track if sve-ptrace encountered a failure in a variable but don't actually use that value when we exit the program, do so.
Signed-off-by Mark Brown <[email protected]>
--- tools/testing/selftests/arm64/fp/sve-ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/arm64/fp/sve-ptrace.c +1 -1
@@ -332,5 +332,5 @@ int main(void)ksft_print_cnts (); -return 0 ; +return ret; }
Signature · 1 line
2.20.1
Quoted 2 lines · Mark Brown
We track if sve-ptrace encountered a failure in a variable but don't actually use that value when we exit the program, do so.
Applied to arm64 (for-next/fixes), thanks!
[1/1] kselftest: arm64: Fix exit code of sve-ptrace
https://git.kernel.org/arm64/c/07e644885bf6
Cheers,
Signature · 5 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev