style: fix spelling in code comments and strings

This commit is contained in:
Lars Kruse
2025-05-03 06:16:30 +02:00
committed by Xiang Xiao
parent b2315e98c4
commit 3ce85ca54e
1670 changed files with 3162 additions and 2991 deletions

View File

@@ -132,7 +132,7 @@ FAR void *vm_map_region(uintptr_t paddr, size_t size)
error:
if (i)
{
/* Undo alway mapped pages */
/* Undo always mapped pages */
up_shmdt((uintptr_t)vaddr, i);
}

View File

@@ -27,7 +27,7 @@
* Pre-processor Definitions
****************************************************************************/
/* Granule arithmetics */
/* Granule arithmetic */
#define GRANSIZE(g) (1 << g->log2gran)
#define GRANMASK(g) (GRANSIZE(g) - 1)

View File

@@ -217,7 +217,7 @@ struct mm_delaynode_s
struct mm_heap_s
{
/* Mutex for controling access to this heap */
/* Mutex for controlling access to this heap */
mutex_t mm_lock;

View File

@@ -44,7 +44,7 @@
#define SRFLAG_AVAILABLE 0 /* Available if no flag bits set */
#define SRFLAG_INUSE (1 << 0) /* Bit 0: Region is in use */
#define SRFLAG_UNLINKED (1 << 1) /* Bit 1: Region perists while references */
#define SRFLAG_UNLINKED (1 << 1) /* Bit 1: Region persists while references */
#ifndef CONFIG_ARCH_ADDRENV
# error CONFIG_ARCH_ADDRENV must be selected with CONFIG_MM_SHM

View File

@@ -1,7 +1,7 @@
From be043f1f50a0b30c3817c262d516083e409283d7 Mon Sep 17 00:00:00 2001
From: Juan Carrano <j.carrano@fu-berlin.de>
Date: Mon, 23 Apr 2018 13:55:42 +0200
Subject: [PATCH 5/8] Fix warnining on implicit pointer conversion.
Subject: [PATCH 5/8] Fix warning on implicit pointer conversion.
Change-Id: I2a208a0a4c835e752fe827acd3d5adb1aa2be626
---