Message ID | 20250515174523.349331-1-jonvelez12345@gmail.com |
---|---|
State | New |
Headers | show |
Series | selftests/futex: Fix usage() message to clarify timeout value unit | expand |
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.
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); }
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(-)