Gedare Bloom created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5600
## Summary <!-- Please provide as much information as possible such as error messages or attaching logs --> The rtems_fdt_get_value() is sparsely documented, but it claims to "Get a value given a path and a property." However, it will only get a property value if the property size matches the `uintptr_t` size. This greatly limits the usefulness of the API call and it will give different behavior under 32- and 64-bit pointer sizes. I would change this API to replace the `uintptr_t *value` with `void *value` and use memcpy() to populate it, similar to what is done in `rtems_fdt_prop_value`. <!-- Pre-set options - milestone --> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5600 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
