Changeset 3af2dc7 in rtems
- Timestamp:
-
05/11/21 14:26:55
(3 years ago)
- Author:
- Frank Kühndel <frank.kuehndel@…>
- Branches:
- master
- Children:
- e3bec23d
- Parents:
- c268766
- git-author:
- Frank Kühndel <frank.kuehndel@…> (05/11/21 14:26:55)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (05/12/21 04:41:10)
- Message:
-
_TOD_Validate(): Fix incorrect return code
This patch fixes bug #4403. Directives
- rtems_timer_fire_when()
- rtems_timer_server_fire_when()
- rtems_task_wake_when()
are documented to return RTEMS_INVALID_ADDRESS when their time-of-day
argument is NULL. But actually they return RTEMS_INVALID_CLOCK. To fix
the issue this patch changes _TOD_Validate() to return a
status code instead of just true/false.
Close #4403
-
(No files)
-