[PATCH] rtems-fdt: Fix node property access on 64bit
Kinsey Moore
kinsey.moore at oarcorp.com
Wed Dec 13 14:16:37 UTC 2023
Looks good to me.
On Tue, Dec 12, 2023 at 8:48 PM <chrisj at rtems.org> wrote:
> From: Chris Johns <chrisj at rtems.org>
>
> ---
> cpukit/libmisc/rtems-fdt/rtems-fdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/libmisc/rtems-fdt/rtems-fdt.c
> b/cpukit/libmisc/rtems-fdt/rtems-fdt.c
> index ec8f270eef..9f8d7bfb24 100644
> --- a/cpukit/libmisc/rtems-fdt/rtems-fdt.c
> +++ b/cpukit/libmisc/rtems-fdt/rtems-fdt.c
> @@ -1165,7 +1165,7 @@ rtems_fdt_get_value (const char* path,
> }
>
> if (length == sizeof (uintptr_t))
> - *value = rtems_fdt_get_uint32 (prop);
> + *value = rtems_fdt_get_uintptr (prop);
> else
> *value = 0;
>
> --
> 2.42.0
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20231213/db87d373/attachment.htm>
More information about the devel
mailing list