Linux-rt-users archive on lore.kernel.org
 help / color / Atom feed
* [PATCH rt-tests] cyclictest: fix typos
@ 2019-11-17 21:40 Uwe Kleine-König
  2019-11-18 19:24 ` John Kacur
  2019-11-18 19:26 ` John Kacur
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2019-11-17 21:40 UTC (permalink / raw)
  To: Clark Williams, John Kacur; +Cc: linux-rt-users

The called function is called clock_gettime with "only" two t as can be
seen tree lines above. Also there was a wrong r in useful.
---
 src/cyclictest/cyclictest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 6be0525822ca..bca028fedffd 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -802,7 +802,7 @@ static void *timerthread(void *param)
 		ret = clock_gettime(par->clock, &now);
 		if (ret != 0) {
 			if (ret != EINTR)
-				warn("clock_getttime() failed. errno: %d\n",
+				warn("clock_gettime() failed. errno: %d\n",
 				     errno);
 			goto out;
 		}
@@ -964,7 +964,7 @@ static void display_help(int error)
 	       "			   but will not drain your battery so quickly\n"
 	       "-m       --mlockall        lock current and future memory allocations\n"
 	       "-M       --refresh_on_max  delay updating the screen until a new max\n"
-	       "			   latency is hit. Userful for low bandwidth.\n"
+	       "			   latency is hit. Useful for low bandwidth.\n"
 	       "-N       --nsecs           print results in ns instead of us (default us)\n"
 	       "-o RED   --oscope=RED      oscilloscope mode, reduce verbose output by RED\n"
 	       "-p PRIO  --priority=PRIO   priority of highest prio thread\n"
-- 
2.24.0


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

* Re: [PATCH rt-tests] cyclictest: fix typos
  2019-11-17 21:40 [PATCH rt-tests] cyclictest: fix typos Uwe Kleine-König
@ 2019-11-18 19:24 ` John Kacur
  2019-11-18 19:26 ` John Kacur
  1 sibling, 0 replies; 3+ messages in thread
From: John Kacur @ 2019-11-18 19:24 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Clark Williams, linux-rt-users

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



On Sun, 17 Nov 2019, Uwe Kleine-König wrote:

> The called function is called clock_gettime with "only" two t as can be
> seen tree lines above. Also there was a wrong r in useful.
> ---
>  src/cyclictest/cyclictest.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
> index 6be0525822ca..bca028fedffd 100644
> --- a/src/cyclictest/cyclictest.c
> +++ b/src/cyclictest/cyclictest.c
> @@ -802,7 +802,7 @@ static void *timerthread(void *param)
>  		ret = clock_gettime(par->clock, &now);
>  		if (ret != 0) {
>  			if (ret != EINTR)
> -				warn("clock_getttime() failed. errno: %d\n",
> +				warn("clock_gettime() failed. errno: %d\n",
>  				     errno);
>  			goto out;
>  		}
> @@ -964,7 +964,7 @@ static void display_help(int error)
>  	       "			   but will not drain your battery so quickly\n"
>  	       "-m       --mlockall        lock current and future memory allocations\n"
>  	       "-M       --refresh_on_max  delay updating the screen until a new max\n"
> -	       "			   latency is hit. Userful for low bandwidth.\n"
> +	       "			   latency is hit. Useful for low bandwidth.\n"
>  	       "-N       --nsecs           print results in ns instead of us (default us)\n"
>  	       "-o RED   --oscope=RED      oscilloscope mode, reduce verbose output by RED\n"
>  	       "-p PRIO  --priority=PRIO   priority of highest prio thread\n"
> -- 
> 2.24.0
> 
> 

Signed-off-by: John Kacur@redhat.com

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

* Re: [PATCH rt-tests] cyclictest: fix typos
  2019-11-17 21:40 [PATCH rt-tests] cyclictest: fix typos Uwe Kleine-König
  2019-11-18 19:24 ` John Kacur
@ 2019-11-18 19:26 ` John Kacur
  1 sibling, 0 replies; 3+ messages in thread
From: John Kacur @ 2019-11-18 19:26 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Clark Williams, linux-rt-users

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



On Sun, 17 Nov 2019, Uwe Kleine-König wrote:

> The called function is called clock_gettime with "only" two t as can be
> seen tree lines above. Also there was a wrong r in useful.
> ---
>  src/cyclictest/cyclictest.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
> index 6be0525822ca..bca028fedffd 100644
> --- a/src/cyclictest/cyclictest.c
> +++ b/src/cyclictest/cyclictest.c
> @@ -802,7 +802,7 @@ static void *timerthread(void *param)
>  		ret = clock_gettime(par->clock, &now);
>  		if (ret != 0) {
>  			if (ret != EINTR)
> -				warn("clock_getttime() failed. errno: %d\n",
> +				warn("clock_gettime() failed. errno: %d\n",
>  				     errno);
>  			goto out;
>  		}
> @@ -964,7 +964,7 @@ static void display_help(int error)
>  	       "			   but will not drain your battery so quickly\n"
>  	       "-m       --mlockall        lock current and future memory allocations\n"
>  	       "-M       --refresh_on_max  delay updating the screen until a new max\n"
> -	       "			   latency is hit. Userful for low bandwidth.\n"
> +	       "			   latency is hit. Useful for low bandwidth.\n"
>  	       "-N       --nsecs           print results in ns instead of us (default us)\n"
>  	       "-o RED   --oscope=RED      oscilloscope mode, reduce verbose output by RED\n"
>  	       "-p PRIO  --priority=PRIO   priority of highest prio thread\n"
> -- 
> 2.24.0
> 
> 

Signed-off-by: John Kacur <jkacur@redhat.com>

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-17 21:40 [PATCH rt-tests] cyclictest: fix typos Uwe Kleine-König
2019-11-18 19:24 ` John Kacur
2019-11-18 19:26 ` John Kacur

Linux-rt-users archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rt-users/0 linux-rt-users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rt-users linux-rt-users/ https://lore.kernel.org/linux-rt-users \
		linux-rt-users@vger.kernel.org
	public-inbox-index linux-rt-users

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rt-users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git