arch/arm/src/armv7-a/arm_addrenv_utils.c: Fix double increment in armv7-a's arm_addrenv_destroy_region().
This commit is contained in:
parent
3e44e9107c
commit
c570439c07
@ -202,7 +202,7 @@ void arm_addrenv_destroy_region(FAR uintptr_t **list, unsigned int listlen,
|
||||
|
||||
binfo("listlen=%d vaddr=%08lx\n", listlen, (unsigned long)vaddr);
|
||||
|
||||
for (i = 0; i < listlen; vaddr += SECTION_SIZE, list++, i++)
|
||||
for (i = 0; i < listlen; vaddr += SECTION_SIZE, i++)
|
||||
{
|
||||
/* Unhook the L2 page table from the L1 page table */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user