RTEMS | can: fix -Wsign-compare warnings (!873)

Michal Lenc (@michallenc) gitlab at rtems.org
Sat Dec 13 15:10:22 UTC 2025



Michal Lenc created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/873

Project:Branches: michallenc/rtems:can-gcc-watnings to rtems/rtos/rtems:main
Author:   Michal Lenc




## Summary

Fixes `-Wsign-compare` compile warnings in CAN code. This introduces
the change in `rtems_ctucanfd_initialize` where `ntxbufs` is changed from
int to unsigned int, thus making the `ntxbufs < 0` check obsolete.


<!-- 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/873
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/20251213/01b70041/attachment.htm>


More information about the bugs mailing list