tools/testing/selftests/signal/sas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix a typo in the signal alternate stack test where the error
message incorrectly used tss_flags instead of the correct field
name ss_flags.
This change ensures the test output accurately reflects the
structure member being checked.
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
---
tools/testing/selftests/signal/sas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/signal/sas.c b/tools/testing/selftests/signal/sas.c
index 07227fab1cc98..476ffa807a61e 100644
--- a/tools/testing/selftests/signal/sas.c
+++ b/tools/testing/selftests/signal/sas.c
@@ -64,7 +64,7 @@ void my_usr1(int sig, siginfo_t *si, void *u)
exit(EXIT_FAILURE);
}
if (stk.ss_flags != SS_DISABLE)
- ksft_test_result_fail("tss_flags=%x, should be SS_DISABLE\n",
+ ksft_test_result_fail("ss_flags=%x, should be SS_DISABLE\n",
stk.ss_flags);
else
ksft_test_result_pass(
--
2.50.1
On 25/08/25 12:47 am, Alok Tiwari wrote: > Fix a typo in the signal alternate stack test where the error > message incorrectly used tss_flags instead of the correct field > name ss_flags. > > This change ensures the test output accurately reflects the > structure member being checked. > > Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> > --- > Reviewed-by: Dev Jain <dev.jain@arm.com>
On Sun, Aug 24, 2025 at 12:17:16PM -0700, Alok Tiwari wrote: > Fix a typo in the signal alternate stack test where the error > message incorrectly used tss_flags instead of the correct field > name ss_flags. > > This change ensures the test output accurately reflects the > structure member being checked. Reviewed-by: Mark Brown <broonie@kernel.org>
© 2016 - 2025 Red Hat, Inc.