projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15dfd3
)
kselftest: arm64: Fix exit code of sve-ptrace
author
Mark Brown
<broonie@kernel.org>
Tue, 9 Mar 2021 19:03:04 +0000
(19:03 +0000)
committer
Will Deacon
<will@kernel.org>
Wed, 10 Mar 2021 10:58:11 +0000
(10:58 +0000)
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>
tools/testing/selftests/arm64/fp/sve-ptrace.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/arm64/fp/sve-ptrace.c
b/tools/testing/selftests/arm64/fp/sve-ptrace.c
index b2282be6f9384cb193e6ed9f54b75c3b6e5d1e75..612d3899614ac6be12c02696c204fe3a4252b96a 100644
(file)
--- 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
;
}