mm/map/vm_region.c: Fix formatting error
mm/map/vm_region.c:131:7: error: If statement followed by garbage
This commit is contained in:
parent
971ca501b9
commit
073bb31c3b
@ -128,8 +128,10 @@ FAR void *vm_map_region(uintptr_t paddr, size_t size)
|
|||||||
return (FAR void *)((uintptr_t)vaddr + (MM_PGMASK & paddr));
|
return (FAR void *)((uintptr_t)vaddr + (MM_PGMASK & paddr));
|
||||||
|
|
||||||
error:
|
error:
|
||||||
if (i) /* undo alway mapped pages */
|
if (i)
|
||||||
{
|
{
|
||||||
|
/* Undo alway mapped pages */
|
||||||
|
|
||||||
up_shmdt((uintptr_t)vaddr, i);
|
up_shmdt((uintptr_t)vaddr, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user