linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests: fix typo in ss_flags check message for sas.c
@ 2025-08-24 19:17 Alok Tiwari
  2025-08-25 15:38 ` Mark Brown
  2025-08-26  4:30 ` Dev Jain
  0 siblings, 2 replies; 3+ messages in thread
From: Alok Tiwari @ 2025-08-24 19:17 UTC (permalink / raw)
  To: shuah, dev.jain, broonie, linux-kselftest; +Cc: alok.a.tiwari, linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] selftests: fix typo in ss_flags check message for sas.c
  2025-08-24 19:17 [PATCH] selftests: fix typo in ss_flags check message for sas.c Alok Tiwari
@ 2025-08-25 15:38 ` Mark Brown
  2025-08-26  4:30 ` Dev Jain
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2025-08-25 15:38 UTC (permalink / raw)
  To: Alok Tiwari; +Cc: shuah, dev.jain, linux-kselftest, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

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>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] selftests: fix typo in ss_flags check message for sas.c
  2025-08-24 19:17 [PATCH] selftests: fix typo in ss_flags check message for sas.c Alok Tiwari
  2025-08-25 15:38 ` Mark Brown
@ 2025-08-26  4:30 ` Dev Jain
  1 sibling, 0 replies; 3+ messages in thread
From: Dev Jain @ 2025-08-26  4:30 UTC (permalink / raw)
  To: Alok Tiwari, shuah, broonie, linux-kselftest; +Cc: linux-kernel


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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-26  4:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-24 19:17 [PATCH] selftests: fix typo in ss_flags check message for sas.c Alok Tiwari
2025-08-25 15:38 ` Mark Brown
2025-08-26  4:30 ` Dev Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).