diff --git a/arch/arm/arm/src/los_arch_mmu.c b/arch/arm/arm/src/los_arch_mmu.c index 0e7647fe0c278c098b19b8b732acf03a2d3368bf..43703c5759e2a0b80b2b6f041706beb3712a1b29 100644 --- a/arch/arm/arm/src/los_arch_mmu.c +++ b/arch/arm/arm/src/los_arch_mmu.c @@ -177,7 +177,7 @@ STATIC VOID OsTryUnmapL1PTE(const LosArchMmu *archMmu, vaddr_t vaddr, UINT32 sca /* * Check if all pages related to this l1 entry are deallocated. * We only need to check pages that we did not clear above starting - * from page_idx and wrapped around SECTION. + * from scanIndex and wrapped around SECTION. */ UINT32 l1Index; PTE_T l1Entry; diff --git a/kernel/base/vm/los_vm_fault.c b/kernel/base/vm/los_vm_fault.c index ee24650c53152a2524076673b684fb0a511738c0..47eab9d7ad3a92106d81ded80f6812a43163e328 100644 --- a/kernel/base/vm/los_vm_fault.c +++ b/kernel/base/vm/los_vm_fault.c @@ -193,7 +193,7 @@ status_t OsDoCowFault(LosVmMapRegion *region, LosVmPgFault *vmPgFault) newPage = LOS_PhysPageAlloc(); if (newPage == NULL) { - VM_ERR("pmm_alloc_page fail"); + VM_ERR("LOS_PhysPageAlloc failed"); ret = LOS_ERRNO_VM_NO_MEMORY; goto ERR_OUT; }