diff --git a/common/memtest.c b/common/memtest.c index 8af998e..0fc2046 100644 --- a/common/memtest.c +++ b/common/memtest.c @@ -90,7 +90,7 @@ * * Between used regions. Start from second entry. */ - list_for_each_entry_from(r, &bank->res->children, sibling) { + list_for_each_entry_continue(r, &bank->res->children, sibling) { start = PAGE_ALIGN(r_prev->end + 1); end = r->start - 1; r_prev = r;