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:
Oki Minabe 2019-09-08 07:04:37 -06:00 committed by Gregory Nutt
parent 3e44e9107c
commit c570439c07

View File

@ -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 */