mm: Fix minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
f10759e377
commit
5253861e7e
|
@ -139,8 +139,8 @@ void mm_free(FAR struct mm_heap_s *heap, FAR void *mem)
|
|||
/* Then merge the two chunks */
|
||||
|
||||
node->size += next->size;
|
||||
andbeyond->preceding = node->size |
|
||||
(andbeyond->preceding & MM_ALLOC_BIT);
|
||||
andbeyond->preceding = node->size |
|
||||
(andbeyond->preceding & MM_ALLOC_BIT);
|
||||
next = (FAR struct mm_freenode_s *)andbeyond;
|
||||
}
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ static int shm_reserve(key_t key, int shmflg)
|
|||
|
||||
static int shm_extend(int shmid, size_t size)
|
||||
{
|
||||
FAR struct shm_region_s *region = &g_shminfo.si_region[shmid];
|
||||
FAR struct shm_region_s *region = &g_shminfo.si_region[shmid];
|
||||
unsigned int pgalloc;
|
||||
unsigned int pgneeded;
|
||||
|
||||
|
|
Loading…
Reference in New Issue