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>
This commit is contained in:
Mark Brown 2021-03-09 19:03:04 +00:00 committed by Greg Kroah-Hartman
parent da5bc0c21c
commit 6366a5bb88

View File

@ -332,5 +332,5 @@ int main(void)
ksft_print_cnts();
return 0;
return ret;
}