RTEMS | atsam/contrib: Address function cast warnings (!895)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed Jan 7 20:58:39 UTC 2026
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/895
Project:Branches: joel/rtems:fix-atsam-function-casts to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
atsam/contrib: Address function cast warnings
The DMA interrupt handlers for multiple drivers took two parameters
but the signature expected by the registration function assumed the
handlers had three parameters. The solution was to conditionally add
a third parameter (ignored) and mark it with RTEMS_UNUSED.
For the UART and USART drivers, there was a type defined for the
handler which included the incorrect signature. Changed to use the
DMA handler type.
<!-- 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/895
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/20260107/47631ecc/attachment-0002.htm>
More information about the bugs
mailing list