RTEMS | cpukit/dev/can: fail controller init if worker task start doesn't start (!1240)
Michal Lenc (@michallenc)
gitlab at rtems.org
Tue May 12 19:52:53 UTC 2026
Michal Lenc created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1240
Project:Branches: michallenc/rtems:can-task-start-error to rtems/rtos/rtems:main
Author: Michal Lenc
## Summary
CAN controllers need a running worker task to function. Check if
the task is actually started and return NULL (and free already allocated
resources) if it fails.
Also assert if cleanup functions fail.
This should fix coverity scan report.
## 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/1240
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/20260512/5e689e8b/attachment.htm>
More information about the bugs
mailing list