Skip to content

Commit 867446f

Browse files
brooniectmarinas
authored andcommitted
kselftest/arm64: Fix check for setting new VLs in sve-ptrace
The check that the new vector length we set was the expected one was typoed to an assignment statement which for some reason the compilers didn't spot, most likely due to the macros involved. Fixes: a1d7111 ("selftests: arm64: More comprehensively test the SVE ptrace interface") Acked-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Dev Jain <dev.jain@arm.com> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20250609-kselftest-arm64-ssve-fixups-v2-1-998fcfa6f240@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 6d80cb7 commit 867446f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/arm64/fp/sve-ptrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static void ptrace_set_get_vl(pid_t child, const struct vec_type *type,
253253
return;
254254
}
255255

256-
ksft_test_result(new_sve->vl = prctl_vl, "Set %s VL %u\n",
256+
ksft_test_result(new_sve->vl == prctl_vl, "Set %s VL %u\n",
257257
type->name, vl);
258258

259259
free(new_sve);

0 commit comments

Comments
 (0)