RTEMS | cpu and bsps or1k: Address -Wcast-function-type warnings (!974)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Jan 30 21:10:41 UTC 2026



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/974

Project:Branches: joel/rtems:fix-or1k-cast-function-warning to rtems/rtos/rtems:main
Author:   Joel Sherrill




## Summary

cpu and bsps or1k: Address -Wcast-function-type warnings

The warning was addressed by adding a helper in cpu.c which could install raw handlers or vectors. Adjusted the generic_or1k clock driver to align. This eliminated the warning.

## Generative AI

None

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/974
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/20260130/7730ee76/attachment.htm>


More information about the bugs mailing list