summaryrefslogtreecommitdiffstats
path: root/common/memtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/memtest.c')
-rw-r--r--common/memtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/memtest.c b/common/memtest.c
index 8af998e883..0fc2046758 100644
--- a/common/memtest.c
+++ b/common/memtest.c
@@ -90,7 +90,7 @@ int mem_test_request_regions(struct list_head *list)
*
* 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;