diff options
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hdata/memory.c b/hdata/memory.c index 1ac03c13..a85f4eba 100644 --- a/hdata/memory.c +++ b/hdata/memory.c @@ -608,7 +608,7 @@ static void get_msareas(struct dt_node *root, status = GETFIELD(PHYS_ATTR_STATUS_MASK, attr); } - if (add_address_range(root, id, arange, type, status)) + if (!add_address_range(root, id, arange, type, status)) prerror("Unable to use memory range %d from MSAREA %d\n", j, i); arange = (void *)arange + be32_to_cpu(arr->esize); |