From 0f272e1dc11f599c7fdc2b370cbd8ab89c7e5160 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Thu, 21 May 2026 16:15:32 -0600 Subject: [PATCH] rtems-fdt: fix pointer reference in check_compatible The handle was being passed to libfdt instead of the blob. --- cpukit/libmisc/rtems-fdt/rtems-fdt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpukit/libmisc/rtems-fdt/rtems-fdt.c b/cpukit/libmisc/rtems-fdt/rtems-fdt.c index 58c07aeaff..2f92984850 100644 --- a/cpukit/libmisc/rtems-fdt/rtems-fdt.c +++ b/cpukit/libmisc/rtems-fdt/rtems-fdt.c @@ -885,7 +885,11 @@ int rtems_fdt_node_check_compatible( if ( !handle->blob ) { return -RTEMS_FDT_ERR_INVALID_HANDLE; } - return fdt_node_check_compatible( handle, nodeoffset, compatible ); + return fdt_node_check_compatible( + handle->blob->blob, + nodeoffset, + compatible + ); } int rtems_fdt_node_offset_by_compatible(