selftests/futex: Fix usage() message to clarify timeout value unit
PATCH 1/1 selftests/futex: Fix usage() message to clarify timeout value unit
futex_wait_timeout: Fix usage() message to clarify timeout value unit
--- tools/testing/selftests/futex/functional/futex_wait_timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/futex/functional/futex_wait_timeout.c +1 -1
@@ -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 ); }
Signature · 1 line
2.43.0
Quoted 27 lines · Jonathan Velez
futex_wait_timeout: Fixusage()message to clarify timeout value unitSigned-off-by Jonathan Velez <[email protected]>---
tools/testing/selftests/futex/functional/futex_wait_timeout.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)tools/testing/selftests/futex/functional/futex_wait_timeout.c +1
-1@@ -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 ); }Signature · 1 line
2.43.0
Hello,
I’m following up on the validity of this Patch.
Best Regards,
Jonathan Velez
André Almeida
reviewerHi Jonathan,
Em 19/05/2025 17:30, Jonathan Velez escreveu:
Quoted 29 lines
Quoted 27 lines · Jonathan Velez
futex_wait_timeout: Fixusage()message to clarify timeout value unitSigned-off-by Jonathan Velez <[email protected]>---
tools/testing/selftests/futex/functional/futex_wait_timeout.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)tools/testing/selftests/futex/functional/futex_wait_timeout.c +1
-1@@ -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 ); }Signature · 1 line
2.43.0Hello,
Quoted 5 lines
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.