mm: Fix minor style issue

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-09-15 23:40:02 +08:00 committed by Masayuki Ishikawa
parent f10759e377
commit 5253861e7e
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;