RTEMS | bsps/shared/gpio: Fix array bounds warning (!639)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Jul 31 14:33:51 UTC 2025
Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/639
Project:Branches: opticron/rtems:brmain-fix-gpio-warning to rtems/rtos/rtems:main
Author: Kinsey Moore
Assignee: Kinsey Moore
## Summary
bsps/shared/gpio: Fix array bounds warning
GCC currently has issues with false positive warnings about array bounds
violations when the value used as the index is a pointer. This slightly
reworks the code to make it cleaner and to avoid this warning.
<!-- 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/639
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/20250731/38fcd8b6/attachment.htm>
More information about the bugs
mailing list