summaryrefslogtreecommitdiff
path: root/lib/libfdt/fdt_region.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfdt/fdt_region.c')
-rw-r--r--lib/libfdt/fdt_region.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfdt/fdt_region.c b/lib/libfdt/fdt_region.c
index 9fea775..747d8bb 100644
--- a/lib/libfdt/fdt_region.c
+++ b/lib/libfdt/fdt_region.c
@@ -101,7 +101,7 @@ int fdt_add_alias_regions(const void *fdt, struct fdt_region *region, int count,
continue;
next = fdt_next_property_offset(fdt, offset);
if (next < 0)
- next = node_end - sizeof(fdt32_t);
+ next = node_end;
if (!did_alias_header) {
fdt_add_region(info, base + node, 12);