Skip to contentSkip to conversation

kselftest: arm64: Fix exit code of sve-ptrace

PATCH Applied Mark Brown 2 participants 2 messages Mar 9, 2021 – Mar 10, 2021

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---
 tools/testing/selftests/arm64/fp/sve-ptrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/arm64/fp/sve-ptrace.c +1 -1
index b2282be6f938..612d3899614a 100644
@@ -332,5 +332,5 @@ int main(void)
 
 	ksft_print_cnts();
 
-	return 0;
+	return ret;
 }
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Mark Brown

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.

Applied to arm64 (for-next/fixes), thanks!

[1/1] kselftest: arm64: Fix exit code of sve-ptrace

      https://git.kernel.org/arm64/c/07e644885bf6

Cheers,

Signature · 5 lines
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev