]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
kselftest: arm64: Fix exit code of sve-ptrace
authorMark Brown <broonie@kernel.org>
Tue, 9 Mar 2021 19:03:04 +0000 (19:03 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:25 +0000 (15:42 -0500)
BugLink: https://bugs.launchpad.net/bugs/1922601
[ 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>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
tools/testing/selftests/arm64/fp/sve-ptrace.c

index b2282be6f9384cb193e6ed9f54b75c3b6e5d1e75..612d3899614ac6be12c02696c204fe3a4252b96a 100644 (file)
@@ -332,5 +332,5 @@ int main(void)
 
        ksft_print_cnts();
 
-       return 0;
+       return ret;
 }