<div dir="auto">Fix doesn't say what was wrong. Please have a message which indicates what was wrong and why it needs to be changed.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 6, 2021, 8:43 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
 cpukit/include/rtems/score/status.h |  4 ++--<br>
 cpukit/rtems/src/taskconstruct.c    | 22 ++++++++++++++++++++++<br>
 2 files changed, 24 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/cpukit/include/rtems/score/status.h b/cpukit/include/rtems/score/status.h<br>
index 352f76e34d..a1c3c84b4d 100644<br>
--- a/cpukit/include/rtems/score/status.h<br>
+++ b/cpukit/include/rtems/score/status.h<br>
@@ -50,7 +50,7 @@ extern "C" {<br>
  */<br>
 typedef enum {<br>
   STATUS_CLASSIC_INCORRECT_STATE = 14,<br>
-  STATUS_CLASSIC_INTERNAL_ERROR = 13,<br>
+  STATUS_CLASSIC_INTERNAL_ERROR = 25,<br>
   STATUS_CLASSIC_INVALID_NUMBER = 10,<br>
   STATUS_CLASSIC_INVALID_PRIORITY = 19,<br>
   STATUS_CLASSIC_INVALID_SIZE = 8,<br>
@@ -107,7 +107,7 @@ typedef enum {<br>
   STATUS_INVALID_PRIORITY =<br>
     STATUS_BUILD( STATUS_CLASSIC_INVALID_PRIORITY, EINVAL ),<br>
   STATUS_MAXIMUM_COUNT_EXCEEDED =<br>
-    STATUS_BUILD( STATUS_CLASSIC_INTERNAL_ERROR, EOVERFLOW ),<br>
+    STATUS_BUILD( STATUS_CLASSIC_UNSATISFIED, EOVERFLOW ),<br>
   STATUS_MESSAGE_INVALID_SIZE =<br>
     STATUS_BUILD( STATUS_CLASSIC_INVALID_SIZE, EMSGSIZE ),<br>
   STATUS_MESSAGE_QUEUE_INVALID_NUMBER =<br>
diff --git a/cpukit/rtems/src/taskconstruct.c b/cpukit/rtems/src/taskconstruct.c<br>
index 397f6c2c89..2cddb448f6 100644<br>
--- a/cpukit/rtems/src/taskconstruct.c<br>
+++ b/cpukit/rtems/src/taskconstruct.c<br>
@@ -35,6 +35,28 @@<br>
<br>
 #include <string.h><br>
<br>
+#define STATUS_ASSERT( status ) \<br>
+  RTEMS_STATIC_ASSERT( \<br>
+    (int) STATUS_CLASSIC_##status == (int) RTEMS_##status, \<br>
+    status \<br>
+  )<br>
+<br>
+STATUS_ASSERT( INCORRECT_STATE );<br>
+STATUS_ASSERT( INTERNAL_ERROR );<br>
+STATUS_ASSERT( INVALID_NUMBER );<br>
+STATUS_ASSERT( INVALID_PRIORITY );<br>
+STATUS_ASSERT( INVALID_SIZE );<br>
+STATUS_ASSERT( NO_MEMORY );<br>
+STATUS_ASSERT( NOT_DEFINED );<br>
+STATUS_ASSERT( NOT_OWNER_OF_RESOURCE );<br>
+STATUS_ASSERT( OBJECT_WAS_DELETED );<br>
+STATUS_ASSERT( PROXY_BLOCKING );<br>
+STATUS_ASSERT( RESOURCE_IN_USE );<br>
+STATUS_ASSERT( SUCCESSFUL );<br>
+STATUS_ASSERT( TIMEOUT );<br>
+STATUS_ASSERT( TOO_MANY );<br>
+STATUS_ASSERT( UNSATISFIED );<br>
+<br>
 static rtems_status_code _RTEMS_tasks_Prepare_user_stack(<br>
   Thread_Configuration    *thread_config,<br>
   const rtems_task_config *config<br>
-- <br>
2.26.2<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>