summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-03-09 22:03:04 +0300
committerWill Deacon <will@kernel.org>2021-03-10 13:58:11 +0300
commit07e644885bf6727a48db109fad053cb43f3c9859 (patch)
tree4a209a124a844149c2761d40812db7a9be1a3a2d /tools
parentd15dfd31384ba3cb93150e5f87661a76fa419f74 (diff)
downloadlinux-07e644885bf6727a48db109fad053cb43f3c9859.tar.xz
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 <broonie@kernel.org> Link: https://lore.kernel.org/r/20210309190304.39169-1-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/arm64/fp/sve-ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/fp/sve-ptrace.c b/tools/testing/selftests/arm64/fp/sve-ptrace.c
index b2282be6f938..612d3899614a 100644
--- a/tools/testing/selftests/arm64/fp/sve-ptrace.c
+++ b/tools/testing/selftests/arm64/fp/sve-ptrace.c
@@ -332,5 +332,5 @@ int main(void)
ksft_print_cnts();
- return 0;
+ return ret;
}