RTEMS | rtems-fdt: rtems_fdt_index_find_by_name() should ignore unit address (#5603)
Gedare Bloom (@gedare)
gitlab at rtems.org
Tue Jun 2 00:24:02 UTC 2026
Gedare Bloom created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5603
Assignee: Gedare Bloom
## Summary
<!--
Please provide as much information as possible such as error messages or attaching logs
-->
When `rtems_fdt_index_find_by_name()` is called with a path that does not have the unit address (`@...`), the exact match in `rtems_fdt_node_path_compare` is not hit. We should probably make this work either passing a length (like the `_namelen` variants), or match the path up to a point where `*n1 == '@' && *n2 == '\0'`.
## Steps to reproduce
<!-- Pre-set options
- milestone
-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5603
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/20260602/82a35895/attachment-0001.htm>
More information about the bugs
mailing list