RTEMS | riscv: fix FDT length check and FDT pointer type (!1227)
Mohamed Ayman (@mohamedayman23)
gitlab at rtems.org
Thu May 7 00:31:57 UTC 2026
Mohamed Ayman commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1227#note_149583
Right and thank you for the suggestion, I've updated the check to also include size-cells by fetching it with fdt_size_cells() and validating the reg property length against (ac + sc) \* sizeof(uint32_t). This makes the checkcovers the full reg entry.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1227#note_149583
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/20260507/e8912bf0/attachment.htm>
More information about the bugs
mailing list