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>
This commit is contained in:
Mark Brown 2021-03-09 19:03:04 +00:00 committed by Will Deacon
parent d15dfd3138
commit 07e644885b

View File

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