RTEMS | bsps/shared/.../gpio-support.c: Address maybe uninitialized warning (!1229)
Chris Johns (@chris)
gitlab at rtems.org
Tue May 5 23:32:03 UTC 2026
Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1229 was reviewed by Chris Johns
--
Chris Johns commented on a discussion on bsps/shared/dev/gpio/gpio-support.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1229#note_149530
> + _Assert( sc == RTEMS_SUCCESSFUL ); \
> + (void) sc; \
> + while (0)
I have not looked at this code before. It should be converted to use self contain mutexes and not object id based semaphores. This would also mean the lock and unlock macros could be removed as the self contains mutex lock and unlock do not return a status code.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1229
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/20260505/7493164f/attachment.htm>
More information about the bugs
mailing list