validation: Fix typos

This commit is contained in:
Sebastian Huber
2023-10-31 07:40:45 +01:00
parent 1a3125c0fe
commit b414abcffe
3 changed files with 6 additions and 6 deletions

View File

@@ -246,7 +246,7 @@ static void RtemsSchedulerReqIdentByProcessor_Pre_CPUIndex_Prepare(
switch ( state ) { switch ( state ) {
case RtemsSchedulerReqIdentByProcessor_Pre_CPUIndex_Invalid: { 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. * processor maximum.
*/ */
ctx->cpu_index = rtems_scheduler_get_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: { 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 ) { if ( ctx->cpu_has_scheduler ) {
ctx->cpu_index = 0; ctx->cpu_index = 0;

View File

@@ -353,7 +353,7 @@ static void ScoreTqReqSurrenderMrsp_Pre_Suspended_Prepare(
switch ( state ) { switch ( state ) {
case ScoreTqReqSurrenderMrsp_Pre_Suspended_Yes: { case ScoreTqReqSurrenderMrsp_Pre_Suspended_Yes: {
/* /*
* Whiel the new owner is suspended. * While the new owner is suspended.
*/ */
ctx->suspended = true; ctx->suspended = true;
break; break;
@@ -361,7 +361,7 @@ static void ScoreTqReqSurrenderMrsp_Pre_Suspended_Prepare(
case ScoreTqReqSurrenderMrsp_Pre_Suspended_No: { case ScoreTqReqSurrenderMrsp_Pre_Suspended_No: {
/* /*
* Whiel the new owner is not suspended. * While the new owner is not suspended.
*/ */
ctx->suspended = false; ctx->suspended = false;
break; break;

View File

@@ -921,7 +921,7 @@ static void ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_Prepare(
switch ( state ) { switch ( state ) {
case ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_Yes: { case ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_Yes: {
/* /*
* Whiel the new owner is suspended. * While the new owner is suspended.
*/ */
ctx->suspended = true; ctx->suspended = true;
break; break;
@@ -929,7 +929,7 @@ static void ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_Prepare(
case ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_No: { case ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_No: {
/* /*
* Whiel the new owner is not suspended. * While the new owner is not suspended.
*/ */
ctx->suspended = false; ctx->suspended = false;
break; break;