page_table: Fix return value of lookup_pte when ptl4 is blank
Change-Id: I5926fedda182941a4b7a2fe480bffb12d4069713
This commit is contained in:
committed by
Dominique Martinet
parent
be708674d3
commit
112ade484a
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user