RTEMS | cpukit/rtems-fdt: Ignore unit address in rtems_fdt_index_find_by_name() (!1337)
Gedare Bloom (@gedare)
gitlab at rtems.org
Thu Jul 2 21:25:04 UTC 2026
Gedare Bloom started a new discussion on cpukit/libmisc/rtems-fdt/rtems-fdt.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1337#note_153690
> if ( cmp == 0 ) {
> /* 'namelen' characters are equal but 'index->entries[middle].name' */
> /* could have additional characters. */
> - if ( index->entries[ middle ].name[ namelen ] == '\0' ) {
> + if ( index->entries[ middle ].name[ namelen ] == '\0' ||
> + ( index->entries[ middle ].name[ namelen ] == '@' &&
> + strchr( &index->entries[ middle ].name[ namelen ], '/' ) == NULL ) ) {
I'm not sure what this check for `/` is doing here?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1337#note_153690
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-f1k8brv87dys5m1sq9wp64ecu-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260702/4658240c/attachment-0001.htm>
More information about the bugs
mailing list