rtems-fdt: fix pointer reference in check_compatible

The handle was being passed to libfdt instead of the blob.
This commit is contained in:
Gedare Bloom
2026-05-28 18:55:53 -06:00
parent 4bc554b404
commit 0f272e1dc1
+5 -1
View File
@@ -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(