page_table: Fix return value of lookup_pte when ptl4 is blank

Change-Id: I5926fedda182941a4b7a2fe480bffb12d4069713
This commit is contained in:
Ken Sato
2019-01-31 09:25:36 +09:00
committed by Dominique Martinet
parent be708674d3
commit 112ade484a

View File

@ -2580,6 +2580,8 @@ static pte_t *lookup_pte(translation_table_t* tt, uintptr_t virt, int pgshift,
pgshift = PTL3_CONT_SHIFT;
} else if (pgshift > PTL3_SHIFT) {
pgshift = PTL3_SHIFT;
} else {
ptep = NULL;
}
goto out;
}