RTEMS | Use unsigned type for processor masks (!1096)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Wed Mar 4 22:06:36 UTC 2026
Sebastian Huber commented on a discussion on cpukit/include/rtems/score/processormaskimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096#note_144252
> uint32_t index
> )
> {
> - long bits = mask->__bits[ index / _BITSET_BITS ];
> + unsigned long bits = mask->__bits[ index / _BITSET_BITS ];
I didn't anticipate that a simple integer type fix turns out to be that controversial. The Newlib MR is actually linked to this MR, see the `Depends on 1 merge request being merged` status after the summary. I lost a bit track how RTEMS is developed and thought this is probably the way to link depending MRs. I will keep easing the review process in mind next time.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096#note_144252
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/20260304/1ba22a67/attachment-0001.htm>
More information about the bugs
mailing list