Skip to content

Commit

Permalink
kselftest: arm64: Fix exit code of sve-ptrace
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
  • Loading branch information
broonie authored and willdeacon committed Mar 10, 2021
1 parent d15dfd3 commit 07e6448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/arm64/fp/sve-ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,5 +332,5 @@ int main(void)

ksft_print_cnts();

return 0;
return ret;
}

0 comments on commit 07e6448

Please sign in to comment.