[rtems commit] validation: Fix typos

Sebastian Huber sebh at rtems.org
Tue Nov 7 14:05:35 UTC 2023


Module:    rtems
Branch:    master
Commit:    b414abcffe041a83afd4a992958bb2f61321260b
Changeset: http://git.rtems.org/rtems/commit/?id=b414abcffe041a83afd4a992958bb2f61321260b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Oct 31 07:40:45 2023 +0100

validation: Fix typos

---

 testsuites/validation/tc-scheduler-ident-by-processor.c  | 4 ++--
 testsuites/validation/tr-tq-surrender-mrsp.c             | 4 ++--
 testsuites/validation/tr-tq-surrender-priority-inherit.c | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/testsuites/validation/tc-scheduler-ident-by-processor.c b/testsuites/validation/tc-scheduler-ident-by-processor.c
index 1685725576..8cfe25a70e 100644
--- a/testsuites/validation/tc-scheduler-ident-by-processor.c
+++ b/testsuites/validation/tc-scheduler-ident-by-processor.c
@@ -246,7 +246,7 @@ static void RtemsSchedulerReqIdentByProcessor_Pre_CPUIndex_Prepare(
   switch ( state ) {
     case RtemsSchedulerReqIdentByProcessor_Pre_CPUIndex_Invalid: {
       /*
-       * While the ``cpu_index`` parameter greater than or equal to the
+       * While the ``cpu_index`` parameter is greater than or equal to the
        * processor maximum.
        */
       ctx->cpu_index = rtems_scheduler_get_processor_maximum();
@@ -255,7 +255,7 @@ static void RtemsSchedulerReqIdentByProcessor_Pre_CPUIndex_Prepare(
 
     case RtemsSchedulerReqIdentByProcessor_Pre_CPUIndex_Valid: {
       /*
-       * While the ``cpu_index`` parameter less than the processor maximum.
+       * While the ``cpu_index`` parameter is less than the processor maximum.
        */
       if ( ctx->cpu_has_scheduler ) {
         ctx->cpu_index = 0;
diff --git a/testsuites/validation/tr-tq-surrender-mrsp.c b/testsuites/validation/tr-tq-surrender-mrsp.c
index 6eca2e0174..bb353f55e1 100644
--- a/testsuites/validation/tr-tq-surrender-mrsp.c
+++ b/testsuites/validation/tr-tq-surrender-mrsp.c
@@ -353,7 +353,7 @@ static void ScoreTqReqSurrenderMrsp_Pre_Suspended_Prepare(
   switch ( state ) {
     case ScoreTqReqSurrenderMrsp_Pre_Suspended_Yes: {
       /*
-       * Whiel the new owner is suspended.
+       * While the new owner is suspended.
        */
       ctx->suspended = true;
       break;
@@ -361,7 +361,7 @@ static void ScoreTqReqSurrenderMrsp_Pre_Suspended_Prepare(
 
     case ScoreTqReqSurrenderMrsp_Pre_Suspended_No: {
       /*
-       * Whiel the new owner is not suspended.
+       * While the new owner is not suspended.
        */
       ctx->suspended = false;
       break;
diff --git a/testsuites/validation/tr-tq-surrender-priority-inherit.c b/testsuites/validation/tr-tq-surrender-priority-inherit.c
index cbe235780a..0229fcc26a 100644
--- a/testsuites/validation/tr-tq-surrender-priority-inherit.c
+++ b/testsuites/validation/tr-tq-surrender-priority-inherit.c
@@ -921,7 +921,7 @@ static void ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_Prepare(
   switch ( state ) {
     case ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_Yes: {
       /*
-       * Whiel the new owner is suspended.
+       * While the new owner is suspended.
        */
       ctx->suspended = true;
       break;
@@ -929,7 +929,7 @@ static void ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_Prepare(
 
     case ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_No: {
       /*
-       * Whiel the new owner is not suspended.
+       * While the new owner is not suspended.
        */
       ctx->suspended = false;
       break;



More information about the vc mailing list