RTEMS | cpukit/score: remove broken error checks (!1062)

Gedare Bloom (@gedare) gitlab at rtems.org
Fri Feb 13 19:50:30 UTC 2026



Gedare Bloom created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1062

Project:Branches: gedare/rtems:cbs-type to rtems/rtos/rtems:main
Author:   Gedare Bloom
Assignee: Gedare Bloom


## Summary

cpukit/score: remove broken error checks

963ba980477cfe542215cfb40cf977dc49d7f891 introduced a type cast
conversion that causes a signed comparison instead of unsigned
that is always true. The checks for values in excess of
SCHEDULER_EDF_PRIO_MSB are not needed since this will be LONG_MIN.
We only need to make sure the budget and deadline are positive
non-zero values.


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1062
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260213/b9b3add0/attachment.htm>


More information about the bugs mailing list