linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests/futex: Fix usage() message to clarify timeout value unit
@ 2025-05-15 17:45 Jonathan Velez
  2025-05-19 20:30 ` Jonathan Velez
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Velez @ 2025-05-15 17:45 UTC (permalink / raw)
  To: tglx, mingo, peterz, dvhart, dave, andrealmeid, shuah
  Cc: linux-kernel, linux-kselftest, Jonathan Velez

futex_wait_timeout: Fix usage() message to clarify timeout value unit

Signed-off-by: Jonathan Velez <jonvelez12345@gmail.com>
---
 tools/testing/selftests/futex/functional/futex_wait_timeout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/futex/functional/futex_wait_timeout.c b/tools/testing/selftests/futex/functional/futex_wait_timeout.c
index d183f878360b..737475df9242 100644
--- a/tools/testing/selftests/futex/functional/futex_wait_timeout.c
+++ b/tools/testing/selftests/futex/functional/futex_wait_timeout.c
@@ -31,7 +31,7 @@ void usage(char *prog)
 	printf("Usage: %s\n", prog);
 	printf("  -c	Use color\n");
 	printf("  -h	Display this help message\n");
-	printf("  -t N	Timeout in nanoseconds (default: 100,000)\n");
+	printf("  -t N	Set timeout duration in nanoseconds (default: 100,000 ns = 100 us)\n");
 	printf("  -v L	Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n",
 	       VQUIET, VCRITICAL, VINFO);
 }
-- 
2.43.0


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

* Re: [PATCH] selftests/futex: Fix usage() message to clarify timeout value unit
  2025-05-15 17:45 [PATCH] selftests/futex: Fix usage() message to clarify timeout value unit Jonathan Velez
@ 2025-05-19 20:30 ` Jonathan Velez
  2025-05-19 21:21   ` André Almeida
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Velez @ 2025-05-19 20:30 UTC (permalink / raw)
  To: tglx, mingo, peterz, dvhart, dave, andrealmeid, shuah
  Cc: linux-kernel, linux-kselftest



> On May 15, 2025, at 1:45 PM, Jonathan Velez <jonvelez12345@gmail.com> wrote:
> 
> futex_wait_timeout: Fix usage() message to clarify timeout value unit
> 
> Signed-off-by: Jonathan Velez <jonvelez12345@gmail.com>
> ---
> tools/testing/selftests/futex/functional/futex_wait_timeout.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/futex/functional/futex_wait_timeout.c b/tools/testing/selftests/futex/functional/futex_wait_timeout.c
> index d183f878360b..737475df9242 100644
> --- a/tools/testing/selftests/futex/functional/futex_wait_timeout.c
> +++ b/tools/testing/selftests/futex/functional/futex_wait_timeout.c
> @@ -31,7 +31,7 @@ void usage(char *prog)
> 	printf("Usage: %s\n", prog);
> 	printf("  -c	Use color\n");
> 	printf("  -h	Display this help message\n");
> -	printf("  -t N	Timeout in nanoseconds (default: 100,000)\n");
> +	printf("  -t N	Set timeout duration in nanoseconds (default: 100,000 ns = 100 us)\n");
> 	printf("  -v L	Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n",
> 	       VQUIET, VCRITICAL, VINFO);
> }
> -- 
> 2.43.0
> 
   Hello, 
   
   I’m following up on the validity of this Patch. 
   
   Best Regards,
   Jonathan Velez 


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

* Re: [PATCH] selftests/futex: Fix usage() message to clarify timeout value unit
  2025-05-19 20:30 ` Jonathan Velez
@ 2025-05-19 21:21   ` André Almeida
  0 siblings, 0 replies; 3+ messages in thread
From: André Almeida @ 2025-05-19 21:21 UTC (permalink / raw)
  To: Jonathan Velez, tglx, mingo, peterz, dvhart, dave, shuah
  Cc: linux-kernel, linux-kselftest

Hi Jonathan,

Em 19/05/2025 17:30, Jonathan Velez escreveu:
> 
> 
>> On May 15, 2025, at 1:45 PM, Jonathan Velez <jonvelez12345@gmail.com> wrote:
>>
>> futex_wait_timeout: Fix usage() message to clarify timeout value unit
>>
>> Signed-off-by: Jonathan Velez <jonvelez12345@gmail.com>
>> ---
>> tools/testing/selftests/futex/functional/futex_wait_timeout.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tools/testing/selftests/futex/functional/futex_wait_timeout.c b/tools/testing/selftests/futex/functional/futex_wait_timeout.c
>> index d183f878360b..737475df9242 100644
>> --- a/tools/testing/selftests/futex/functional/futex_wait_timeout.c
>> +++ b/tools/testing/selftests/futex/functional/futex_wait_timeout.c
>> @@ -31,7 +31,7 @@ void usage(char *prog)
>> 	printf("Usage: %s\n", prog);
>> 	printf("  -c	Use color\n");
>> 	printf("  -h	Display this help message\n");
>> -	printf("  -t N	Timeout in nanoseconds (default: 100,000)\n");
>> +	printf("  -t N	Set timeout duration in nanoseconds (default: 100,000 ns = 100 us)\n");
>> 	printf("  -v L	Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n",
>> 	       VQUIET, VCRITICAL, VINFO);
>> }
>> -- 
>> 2.43.0
>>
>     Hello,
>     
>     I’m following up on the validity of this Patch.
>     
>     Best Regards,
>     Jonathan Velez
> 

I think the current string already states what's the value unit of the 
timeout in nanoseconds and is good as it is.

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

end of thread, other threads:[~2025-05-19 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15 17:45 [PATCH] selftests/futex: Fix usage() message to clarify timeout value unit Jonathan Velez
2025-05-19 20:30 ` Jonathan Velez
2025-05-19 21:21   ` André Almeida

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).