Skip to content
Snippets Groups Projects
Commit 9ea51db0 authored by Armin Luntzer's avatar Armin Luntzer
Browse files

PAGE: fix dereferencing bug when checking page map spaces

parent 456c1de4
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ int page_map_add(unsigned long start, unsigned long end,
} while ((*(++pg)));
if (!pg) {
if (!(*pg)) {
pr_err("PAGE MEM: map space exceeded, cannot add map\n");
goto error;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment