linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rt-tests] Fix some trivial typos found by codespell(1)
@ 2015-10-08 21:12 Uwe Kleine-König
  2015-10-09  7:30 ` John Kacur
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2015-10-08 21:12 UTC (permalink / raw)
  To: John Kacur; +Cc: linux-rt-users

Inheritence ==> Inheritance
occured ==> occurred
surpress ==> suppress
---
 src/pi_tests/classic_pi.c    | 2 +-
 src/pi_tests/pi_stress.c     | 4 ++--
 src/pi_tests/pip_stress.c    | 2 +-
 src/pi_tests/tst-mutexpi10.c | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/pi_tests/classic_pi.c b/src/pi_tests/classic_pi.c
index 59e907bc98cc..695ee4c4bd03 100644
--- a/src/pi_tests/classic_pi.c
+++ b/src/pi_tests/classic_pi.c
@@ -18,7 +18,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
    USA */
 
-/* This program tests Priority Inheritence mutexes and their ability
+/* This program tests Priority Inheritance mutexes and their ability
    to avoid Priority Inversion deadlocks
   
    The basic premise here is to set up a deadlock scenario and confirm that PI
diff --git a/src/pi_tests/pi_stress.c b/src/pi_tests/pi_stress.c
index a4e6e3df1a3d..a02f70629aa4 100644
--- a/src/pi_tests/pi_stress.c
+++ b/src/pi_tests/pi_stress.c
@@ -132,7 +132,7 @@ unsigned long report_interval = (unsigned long)SEC_TO_USEC(0.75);
 int shutdown = 0;		/* global indicating we should shut down */
 pthread_mutex_t shutdown_mtx;	/* associated mutex */
 
-/* indicate if errors have occured */
+/* indicate if errors have occurred */
 int have_errors = 0;
 
 /* indicated that keyboard interrupt has happened */
@@ -1025,7 +1025,7 @@ void usage(void)
 	printf("usage: pi_stress <options>\n");
 	printf("    options:\n");
 	printf("\t--verbose\t- lots of output\n");
-	printf("\t--quiet\t\t- surpress running output\n");
+	printf("\t--quiet\t\t- suppress running output\n");
 	printf
 	    ("\t--duration=<n>- length of the test run in seconds [infinite]\n");
 	printf("\t--groups=<n>\t- set the number of inversion groups [%d]\n",
diff --git a/src/pi_tests/pip_stress.c b/src/pi_tests/pip_stress.c
index 812a7030aa9d..a0477cc2a35d 100644
--- a/src/pi_tests/pip_stress.c
+++ b/src/pi_tests/pip_stress.c
@@ -64,7 +64,7 @@ useconds_t usleep_val = 500;
 
 pthread_mutex_t *resource;
 
-/* This records the state to determine whether a priority inversion occured */
+/* This records the state to determine whether a priority inversion occurred */
 struct State {
 	int low_owns_resource;
 	int high_started;
diff --git a/src/pi_tests/tst-mutexpi10.c b/src/pi_tests/tst-mutexpi10.c
index 0244b4a7a7c1..a63ea23ba621 100644
--- a/src/pi_tests/tst-mutexpi10.c
+++ b/src/pi_tests/tst-mutexpi10.c
@@ -21,7 +21,7 @@
    Boston, MA 02111-1307, USA.  */
 
 
-/* This program tests Priority Inheritence mutexes and their ability
+/* This program tests Priority Inheritance mutexes and their ability
    to avoid Priority Inversion deadlocks
   
    The basic premise here is to set up a deadlock scenario and confirm that PI
-- 
2.1.4


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

* Re: [PATCH rt-tests] Fix some trivial typos found by codespell(1)
  2015-10-08 21:12 [PATCH rt-tests] Fix some trivial typos found by codespell(1) Uwe Kleine-König
@ 2015-10-09  7:30 ` John Kacur
  0 siblings, 0 replies; 2+ messages in thread
From: John Kacur @ 2015-10-09  7:30 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: linux-rt-users

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



On Thu, 8 Oct 2015, Uwe Kleine-König wrote:

> Inheritence ==> Inheritance
> occured ==> occurred
> surpress ==> suppress
> ---
>  src/pi_tests/classic_pi.c    | 2 +-
>  src/pi_tests/pi_stress.c     | 4 ++--
>  src/pi_tests/pip_stress.c    | 2 +-
>  src/pi_tests/tst-mutexpi10.c | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/src/pi_tests/classic_pi.c b/src/pi_tests/classic_pi.c
> index 59e907bc98cc..695ee4c4bd03 100644
> --- a/src/pi_tests/classic_pi.c
> +++ b/src/pi_tests/classic_pi.c
> @@ -18,7 +18,7 @@
>     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
>     USA */
>  
> -/* This program tests Priority Inheritence mutexes and their ability
> +/* This program tests Priority Inheritance mutexes and their ability
>     to avoid Priority Inversion deadlocks
>    
>     The basic premise here is to set up a deadlock scenario and confirm that PI
> diff --git a/src/pi_tests/pi_stress.c b/src/pi_tests/pi_stress.c
> index a4e6e3df1a3d..a02f70629aa4 100644
> --- a/src/pi_tests/pi_stress.c
> +++ b/src/pi_tests/pi_stress.c
> @@ -132,7 +132,7 @@ unsigned long report_interval = (unsigned long)SEC_TO_USEC(0.75);
>  int shutdown = 0;		/* global indicating we should shut down */
>  pthread_mutex_t shutdown_mtx;	/* associated mutex */
>  
> -/* indicate if errors have occured */
> +/* indicate if errors have occurred */
>  int have_errors = 0;
>  
>  /* indicated that keyboard interrupt has happened */
> @@ -1025,7 +1025,7 @@ void usage(void)
>  	printf("usage: pi_stress <options>\n");
>  	printf("    options:\n");
>  	printf("\t--verbose\t- lots of output\n");
> -	printf("\t--quiet\t\t- surpress running output\n");
> +	printf("\t--quiet\t\t- suppress running output\n");
>  	printf
>  	    ("\t--duration=<n>- length of the test run in seconds [infinite]\n");
>  	printf("\t--groups=<n>\t- set the number of inversion groups [%d]\n",
> diff --git a/src/pi_tests/pip_stress.c b/src/pi_tests/pip_stress.c
> index 812a7030aa9d..a0477cc2a35d 100644
> --- a/src/pi_tests/pip_stress.c
> +++ b/src/pi_tests/pip_stress.c
> @@ -64,7 +64,7 @@ useconds_t usleep_val = 500;
>  
>  pthread_mutex_t *resource;
>  
> -/* This records the state to determine whether a priority inversion occured */
> +/* This records the state to determine whether a priority inversion occurred */
>  struct State {
>  	int low_owns_resource;
>  	int high_started;
> diff --git a/src/pi_tests/tst-mutexpi10.c b/src/pi_tests/tst-mutexpi10.c
> index 0244b4a7a7c1..a63ea23ba621 100644
> --- a/src/pi_tests/tst-mutexpi10.c
> +++ b/src/pi_tests/tst-mutexpi10.c
> @@ -21,7 +21,7 @@
>     Boston, MA 02111-1307, USA.  */
>  
>  
> -/* This program tests Priority Inheritence mutexes and their ability
> +/* This program tests Priority Inheritance mutexes and their ability
>     to avoid Priority Inversion deadlocks
>    
>     The basic premise here is to set up a deadlock scenario and confirm that PI
> -- 
> 2.1.4


Applied, thanks

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

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

end of thread, other threads:[~2015-10-09  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 21:12 [PATCH rt-tests] Fix some trivial typos found by codespell(1) Uwe Kleine-König
2015-10-09  7:30 ` John Kacur

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