summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-03-09 19:03:04 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-30 14:31:51 +0200
commit6366a5bb888baee5d9f7a5b6168066366e541117 (patch)
treeaa3181db51bacd6233ddf82c3ffee34f681fd751 /tools
parentda5bc0c21c04840b235650b1aac8d4421fdb366a (diff)
kselftest: arm64: Fix exit code of sve-ptrace
[ Upstream commit 07e644885bf6727a48db109fad053cb43f3c9859 ] 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> Signed-off-by: Sasha Levin <sashal@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;
}