diff --git a/Kconfig b/Kconfig
index 8041b61d84e200970ee65ef113a8648291fb1950..c286f28ba88d590422fab033e41d9cd764480bc6 100644
--- a/Kconfig
+++ b/Kconfig
@@ -265,7 +265,7 @@ config MEM_LEAKCHECK
default n
depends on DEBUG_VERSION && MEM_DEBUG
help
- Answer Y to enable record the LR of Function call stack of Mem operation, it can check the mem leak through the informations of mem node.
+ Answer Y to enable record the LR of Function call stack of Mem operation, it can check the mem leak through the information of mem node.
config BASE_MEM_NODE_INTEGRITY_CHECK
bool "Enable integrity check or not"
default n
diff --git a/apps/shell/src/shmsg.c b/apps/shell/src/shmsg.c
index e0cdb67bf0ac1bc4e1696477474ab7339af19111..d51ef9aa3b36493d1a82696a07c8101a5c0c3c09 100644
--- a/apps/shell/src/shmsg.c
+++ b/apps/shell/src/shmsg.c
@@ -422,7 +422,7 @@ static void DoCmdExec(const char *cmdName, const char *cmdline, unsigned int len
forkPid = fork();
if (forkPid < 0) {
- printf("Faild to fork from shell\n");
+ printf("Failed to fork from shell\n");
return;
} else if (forkPid == 0) {
ChildExec(cmdParsed->paramArray[0], cmdParsed->paramArray, foreground);
diff --git a/apps/tftp/src/tftpc.c b/apps/tftp/src/tftpc.c
index a1ab6f34da919e2f476984776b9f06aad7188d1e..bc67cf48ecb57d14e97a15ca73333960607be47d 100644
--- a/apps/tftp/src/tftpc.c
+++ b/apps/tftp/src/tftpc.c
@@ -500,7 +500,7 @@ static void lwip_tftp_send_error(s32_t iSockNum, u32_t ulError, const char *szEr
}
}
-/* INTEFACE to get a file using filename
+/* INTERFACE to get a file using filename
ulHostAddr - IP address of Host
szSrcFileName - Source file
szDestDirPath - Destination file path
@@ -1419,7 +1419,7 @@ err_handler:
}
#ifdef TFTP_TO_RAWMEM
-/* INTEFACE to get a file using filename
+/* INTERFACE to get a file using filename
ulHostAddr - IP address of Host
szSrcFileName - Source file
szDestMemAddr - The target memory address in the client
diff --git a/arch/arm/arm/src/startup/reset_vector_mp.S b/arch/arm/arm/src/startup/reset_vector_mp.S
index b1f9ff479a36fcb857407d7a5806ae161f337b0c..11c74afcf1b8a691d3d5157942ec64dcc9202494 100644
--- a/arch/arm/arm/src/startup/reset_vector_mp.S
+++ b/arch/arm/arm/src/startup/reset_vector_mp.S
@@ -276,11 +276,11 @@ mmu_setup:
mov r12, #0x7 /* 0b0111 */
mcr p15, 0, r12, c3, c0, 0 /* Set DACR with 0b0111, client and manager domian */
isb
- mrc p15, 0, r12, c1, c0, 1 /* ACTLR, Auxlliary Control Register */
+ mrc p15, 0, r12, c1, c0, 1 /* ACTLR, Auxiliary Control Register */
orr r12, r12, #(1 << 6) /* SMP, Enables coherent requests to the processor. */
orr r12, r12, #(1 << 2) /* Enable D-side prefetch */
orr r12, r12, #(1 << 11) /* Global BP Enable bit */
- mcr p15, 0, r12, c1, c0, 1 /* ACTLR, Auxlliary Control Register */
+ mcr p15, 0, r12, c1, c0, 1 /* ACTLR, Auxiliary Control Register */
dsb
mrc p15, 0, r12, c1, c0, 0
bic r12, #(1 << 29 | 1 << 28) /* Disable TRE/AFE */
diff --git a/compat/posix/src/time.c b/compat/posix/src/time.c
index d49c5c5477520262fc24fc72c7a1dc794246dcf2..33cb65907a6cc03eff90100c1f921d854ba58f18 100644
--- a/compat/posix/src/time.c
+++ b/compat/posix/src/time.c
@@ -71,7 +71,7 @@
#ifdef LOSCFG_AARCH64
/*
- * This two structures originally did't exit,
+ * This two structures originally didn't exit,
* they added by liteos to support 64bit interfaces on 32bit platform,
* in 64bit platform, timeval64 define to timeval which is platform adaptive.
*/
diff --git a/fs/fat/os_adapt/fatfs.h b/fs/fat/os_adapt/fatfs.h
index 76d0f2f4d4e3487435b2b65ac5ac611a5fc0bad3..01a5ecd0418500646fb1873ef3d7516acdbda414 100644
--- a/fs/fat/os_adapt/fatfs.h
+++ b/fs/fat/os_adapt/fatfs.h
@@ -64,7 +64,7 @@ extern "C" {
#define MBR_PRIMARY_PART_NUM 4
#define JUMP_CODE "\xEB\xFE\x90"
-/* Partiton type */
+/* Partition type */
#define FAT12 0x01 /* FAT12 as primary partition in first physical 32MB */
#define FAT16 0x04 /* FAT16 with less than 65536 sectors(32MB) */
#define EXTENDED_PARTITION_CHS 0x05
diff --git a/fs/fat/virpart/src/virpart.c b/fs/fat/virpart/src/virpart.c
index efc70c2820cc3062d97854c7b73d23a706745960..a6e67ee767b8ebb435e7cc7ca8f9f4e5133afa48 100644
--- a/fs/fat/virpart/src/virpart.c
+++ b/fs/fat/virpart/src/virpart.c
@@ -179,7 +179,7 @@ static INT FatfsDisablePart(void *handle)
* Scan the FAT inside the boundary of CHILD FATFS limit, and update the free cluster and last cluster
* for all CHILD FATFS.
* Acceptable Return Value:
- * - FR_OK : Successfully scaned the FAT and update field.
+ * - FR_OK : Successfully scanned the FAT and update field.
* Others Return Value:
* - FR_INVAILD_FATFS : The FATFS object has error or the info in it has been occuried
* - FR_DENIED : The virtual partition feature has been shut down by switcher
diff --git a/fs/fat/virpart/src/virpartff.c b/fs/fat/virpart/src/virpartff.c
index a990533b8ad4335de12eb36ee51339e2408e110b..359f1edb8180b87ff5b934960ba47fbd66f5b3b0 100644
--- a/fs/fat/virpart/src/virpartff.c
+++ b/fs/fat/virpart/src/virpartff.c
@@ -373,7 +373,7 @@ static FRESULT FatfsCheckScanFatParam(FATFS *fs)
* Scan the FAT inside the boundary of CHILD FATFS limit, and update the free cluster and last cluster
*
* Acceptable Return Value:
-* - FR_OK : Successfully scaned the FAT and update field.
+* - FR_OK : Successfully scanned the FAT and update field.
*
* Others Return Value:
* - FR_INVAILD_FATFS : The FATFS object has error or the info in it has been occuried
diff --git a/fs/jffs2/jffs2.patch b/fs/jffs2/jffs2.patch
index 907d3f329ca610c3dc09949174cd6e9370a6991b..acd255759db7c0ea76456ccf326068d1e29386ad 100644
--- a/fs/jffs2/jffs2.patch
+++ b/fs/jffs2/jffs2.patch
@@ -5499,7 +5499,7 @@ diff -Nupr old/fs/jffs2/readinode.c new/fs/jffs2/readinode.c
break;
default:
-+ JFFS2_ERROR("Unknow f->inocache->state %d!\n", f->inocache->state);
++ JFFS2_ERROR("Unknown f->inocache->state %d!\n", f->inocache->state);
BUG();
}
}
diff --git a/fs/proc/os_adapt/fd_proc.c b/fs/proc/os_adapt/fd_proc.c
index 337b493b9f2f7d92f1906a41500d301da16f05a5..1c658b393821a6e8a2dc9175d35d8ee88c087266 100644
--- a/fs/proc/os_adapt/fd_proc.c
+++ b/fs/proc/os_adapt/fd_proc.c
@@ -135,7 +135,7 @@ void ProcFdInit(void)
{
struct ProcDirEntry *pde = CreateProcEntry("fd", 0, NULL);
if (pde == NULL) {
- PRINT_ERR("creat /proc/fd error.\n");
+ PRINT_ERR("create /proc/fd error.\n");
return;
}
diff --git a/fs/proc/os_adapt/mounts_proc.c b/fs/proc/os_adapt/mounts_proc.c
index c5f39ab268d35640864a8e01101f804c7cf1d842..bc36dc9f0ba898b73247faeda935929f172602e1 100644
--- a/fs/proc/os_adapt/mounts_proc.c
+++ b/fs/proc/os_adapt/mounts_proc.c
@@ -91,7 +91,7 @@ void ProcMountsInit(void)
{
struct ProcDirEntry *pde = CreateProcEntry("mounts", 0, NULL);
if (pde == NULL) {
- PRINT_ERR("creat mounts error!\n");
+ PRINT_ERR("create mounts error!\n");
return;
}
diff --git a/fs/proc/os_adapt/uptime_proc.c b/fs/proc/os_adapt/uptime_proc.c
index d30e62c14ae2a611c86c78514a1d59a9aa25016c..552a44511209a3237b4cf22a423188dbea580d19 100644
--- a/fs/proc/os_adapt/uptime_proc.c
+++ b/fs/proc/os_adapt/uptime_proc.c
@@ -78,7 +78,7 @@ void ProcUptimeInit(void)
{
struct ProcDirEntry *pde = CreateProcEntry("uptime", 0, NULL);
if (pde == NULL) {
- PRINT_ERR("creat /proc/uptime error!\n");
+ PRINT_ERR("create /proc/uptime error!\n");
return;
}
diff --git a/fs/vfs/include/bcache/bcache.h b/fs/vfs/include/bcache/bcache.h
index d4479bd5954be18dd7b2a517bf64fc7411167e58..591baaacd9acb284cd8546e4c976e2e76167ff87 100644
--- a/fs/vfs/include/bcache/bcache.h
+++ b/fs/vfs/include/bcache/bcache.h
@@ -138,7 +138,7 @@ typedef struct tagOsBcache {
*
The block number is automatically adjusted if position is greater than block size.
*
*
- * @retval #0 read succeded
+ * @retval #0 read succeeded
* @retval #INT32 read failed
*
* @par Dependency:
@@ -168,7 +168,7 @@ INT32 BlockCacheRead(OsBcache *bc,
* The block number is automatically adjusted if position is greater than block size.
*
*
- * @retval #0 write succeded
+ * @retval #0 write succeeded
* @retval #INT32 write failed
*
* @par Dependency:
@@ -193,7 +193,7 @@ INT32 BlockCacheWrite(OsBcache *bc,
* None.
*
*
- * @retval #0 sync succeded
+ * @retval #0 sync succeeded
* @retval #INT32 sync failed
*
* @par Dependency:
@@ -219,7 +219,7 @@ INT32 BlockCacheSync(OsBcache *bc);
* None.
*
*
- * @retval #OsBcache * init succeded
+ * @retval #OsBcache * init succeeded
* @retval #NULL init failed
*
* @par Dependency:
diff --git a/kernel/base/ipc/los_signal.c b/kernel/base/ipc/los_signal.c
index ba50f1a767a1694e3f76b39783c4d467bc9fab40..2aac583635e494b9a19b23f8d504377d367ef3d7 100644
--- a/kernel/base/ipc/los_signal.c
+++ b/kernel/base/ipc/los_signal.c
@@ -284,7 +284,7 @@ static int SigProcessSignalHandler(LosTaskCB *tcb, void *arg)
return 0;
}
- /* If the default tcb is not setted, then set this one as default. */
+ /* If the default tcb is not set, then set this one as default. */
if (!info->defaultTcb) {
info->defaultTcb = tcb;
}
@@ -305,7 +305,7 @@ static int SigProcessSignalHandler(LosTaskCB *tcb, void *arg)
/* Is this signal unblocked on this thread? */
isMember = OsSigIsMember(&tcb->sig.sigprocmask, info->sigInfo->si_signo);
if ((!isMember) && (!info->receivedTcb) && (tcb != info->awakenedTcb)) {
- /* if unblockedTcb of this signal is not setted, then set it. */
+ /* if unblockedTcb of this signal is not set, then set it. */
if (!info->unblockedTcb) {
info->unblockedTcb = tcb;
}
diff --git a/kernel/common/console.c b/kernel/common/console.c
index b8c59f5f6f1f0ade117298e191ee555684397bd8..e6973918bd5a2b8c702e916bf04ffc89f4d8a89e 100644
--- a/kernel/common/console.c
+++ b/kernel/common/console.c
@@ -1238,7 +1238,7 @@ STATIC CONSOLE_CB *OsConsoleCreate(UINT32 consoleID, const CHAR *deviceName)
ret = (INT32)LOS_SemCreate(1, &consoleCB->consoleSem);
if (ret != LOS_OK) {
- PRINT_ERR("creat sem for uart failed\n");
+ PRINT_ERR("create sem for uart failed\n");
goto ERR_WITH_BUF;
}
diff --git a/kernel/extended/liteipc/hm_liteipc.c b/kernel/extended/liteipc/hm_liteipc.c
index 2f0c5b3ea5d0229e475ca4e4d064d7713c6e179d..6622cb671485d637956522b81deef76818478532 100644
--- a/kernel/extended/liteipc/hm_liteipc.c
+++ b/kernel/extended/liteipc/hm_liteipc.c
@@ -1026,7 +1026,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 CheckPara(IpcContent *content, UINT32 *dstTid)
#endif
break;
default:
- PRINT_DEBUG("Unknow msg type:%d\n", msg->type);
+ PRINT_DEBUG("Unknown msg type:%d\n", msg->type);
return -EINVAL;
}
@@ -1118,13 +1118,13 @@ LITE_OS_SEC_TEXT STATIC UINT32 CheckRecievedMsg(IpcListNode *node, IpcContent *c
}
#if (USE_TIMESTAMP == 1)
if (node->msg.timestamp != content->outMsg->timestamp) {
- PRINT_ERR("Recieve a unmatch reply, drop it\n");
+ PRINT_ERR("Receive a unmatch reply, drop it\n");
ret = -EINVAL;
}
#else
if ((node->msg.code != content->outMsg->code) ||
(node->msg.target.token != content->outMsg->target.token)) {
- PRINT_ERR("Recieve a unmatch reply, drop it\n");
+ PRINT_ERR("Receive a unmatch reply, drop it\n");
ret = -EINVAL;
}
#endif
@@ -1132,7 +1132,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 CheckRecievedMsg(IpcListNode *node, IpcContent *c
case MT_DEATH_NOTIFY:
break;
default:
- PRINT_ERR("Unknow msg type:%d\n", node->msg.type);
+ PRINT_ERR("Unknown msg type:%d\n", node->msg.type);
ret = -EINVAL;
}
if (ret != LOS_OK) {
@@ -1310,7 +1310,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 HandleCmsCmd(CmsCmdContent *content)
}
return AddServiceAccess(localContent.taskID, localContent.serviceHandle);
default:
- PRINT_DEBUG("Unknow cmd cmd:%d\n", localContent.cmd);
+ PRINT_DEBUG("Unknown cmd cmd:%d\n", localContent.cmd);
return -EINVAL;
}
return ret;
@@ -1375,7 +1375,7 @@ LITE_OS_SEC_TEXT int LiteIpcIoctl(struct file *filep, int cmd, unsigned long arg
}
break;
default:
- PRINT_ERR("Unknow liteipc ioctl cmd:%d\n", cmd);
+ PRINT_ERR("Unknown liteipc ioctl cmd:%d\n", cmd);
return -EINVAL;
}
return (INT32)ret;
diff --git a/kernel/include/los_task.h b/kernel/include/los_task.h
index 007b4bd1523a1018cd3b8b61ebfa4006b26cb16d..e2598b4dc20dacb40a81fafba25b62e2ca47f22b 100644
--- a/kernel/include/los_task.h
+++ b/kernel/include/los_task.h
@@ -977,7 +977,7 @@ extern UINT32 LOS_TaskInfoGet(UINT32 taskID, TSK_INFO_S *taskInfo);
*
* @attention
*
- * - If any low LOSCFG_KERNEL_CORE_NUM bit of the mask is not setted, an error is reported.
+ * - If any low LOSCFG_KERNEL_CORE_NUM bit of the mask is not set, an error is reported.
*
*
* @param uwTaskID [IN] Type #UINT32 Task ID. The task id value is obtained from task creation.
@@ -987,7 +987,7 @@ extern UINT32 LOS_TaskInfoGet(UINT32 taskID, TSK_INFO_S *taskInfo);
* @retval #LOS_ERRNO_TSK_ID_INVALID Invalid task ID.
* @retval #LOS_ERRNO_TSK_NOT_CREATED The task is not created.
* @retval #LOS_ERRNO_TSK_CPU_AFFINITY_MASK_ERR The task cpu affinity mask is incorrect.
- * @retval #LOS_OK The task cpu affinity mask is successfully setted.
+ * @retval #LOS_OK The task cpu affinity mask is successfully set.
* @par Dependency:
* - los_task.h: the header file that contains the API declaration.
* @see LOS_TaskCpuAffiGet
diff --git a/net/lwip-2.1/enhancement/src/api_shell.c b/net/lwip-2.1/enhancement/src/api_shell.c
index 5831bf56e462c67d7cd7c8b549ed4126601587b2..66215c07140982f0556cce84d456da9069bf9099 100644
--- a/net/lwip-2.1/enhancement/src/api_shell.c
+++ b/net/lwip-2.1/enhancement/src/api_shell.c
@@ -1326,7 +1326,7 @@ out:
} else if (ret == ERR_RTE) {
(void)snprintf_s(arp_cmd->cb_print_buf, PRINT_BUF_LEN, (PRINT_BUF_LEN - 1), "Network is unreachable\n");
} else {
- (void)snprintf_s(arp_cmd->cb_print_buf, PRINT_BUF_LEN, (PRINT_BUF_LEN - 1), "Successed\n");
+ (void)snprintf_s(arp_cmd->cb_print_buf, PRINT_BUF_LEN, (PRINT_BUF_LEN - 1), "Succeeded\n");
}
}
#endif
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_035.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_035.c
index be51a961f18ff4530e9a0ae95e2bc3e9b7192eed..ccbe59ff0f1cd45dbcea734ac374a32e6b15e535 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_035.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_035.c
@@ -51,7 +51,7 @@ static UINT32 Testcase(void)
g_testCount = 0;
TEST_TASK_PARAM_INIT(task1, "it_smp_task_035", (TSK_ENTRY_FUNC)TaskF02Preempt, TASK_PRIO_TEST_TASK - 1);
- /* creat preempt task */
+ /* create preempt task */
task1.usCpuAffiMask = 0;
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_042.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_042.c
index 79cb1f1564bc881dba944c85ba400ac558fe9241..0933d379fd3412c5300db5eb21a51248a6b2fdf9 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_042.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_042.c
@@ -61,7 +61,7 @@ static UINT32 Testcase(void)
TEST_TASK_PARAM_INIT(task1, "it_smp_task_042", (TSK_ENTRY_FUNC)TaskF01, TASK_PRIO_TEST_TASK);
int i;
- /* creat high prio task on every cores */
+ /* create high prio task on every cores */
for (i = 0; i < LOSCFG_KERNEL_CORE_NUM - 1; i++) {
/* take control of every cores */
task1.usCpuAffiMask = CPUID_TO_AFFI_MASK((ArchCurrCpuid() + i + 1) % (LOSCFG_KERNEL_CORE_NUM));
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_062.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_062.c
index 84267764090f6fddc98958ca082c8bd5b16f8731..7c055beec3bea76134a0a4fb2e13f47ef4918691 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_062.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_062.c
@@ -59,7 +59,7 @@ static UINT32 Testcase(void)
TSK_INIT_PARAM_S task1 = { 0 };
g_testCount = 0;
- // 5, lengh of the queue; 50, max queue msg size.
+ // 5, length of the queue; 50, max queue msg size.
ret = LOS_QueueCreate("queue", 5, &g_queue, 0, 50);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_063.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_063.c
index b15acee9e610c742a1b4b62e804a1f1d67557a8c..16ba91d8e36a3826bc7a3a37cecabed7779565d8 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_063.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_063.c
@@ -58,7 +58,7 @@ static UINT32 Testcase(void)
TSK_INIT_PARAM_S task1 = { 0 };
g_testCount = 0;
- // 5, lengh of the queue; 50, max queue msg size.
+ // 5, length of the queue; 50, max queue msg size.
ret = LOS_QueueCreate("queue", 5, &g_queue, 0, 50);
TEST_TASK_PARAM_INIT(task1, "it_smp_task_063", (TSK_ENTRY_FUNC)TaskF01, TASK_PRIO_TEST_TASK - 1);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_068.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_068.c
index ef09a714bb10b35a50f0d72eb2a77278d76a4250..ab7fc3fbcaebcd838e4a57f5156e4e90e8d8bcfe 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_068.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_068.c
@@ -72,7 +72,7 @@ static UINT32 Testcase(void)
TSK_INIT_PARAM_S task1 = { 0 };
g_testCount = 0;
- // 5, lengh of the queue; 50, max queue msg size.
+ // 5, length of the queue; 50, max queue msg size.
ret = LOS_QueueCreate("queue", 5, &g_queue, 0, 50);
TEST_TASK_PARAM_INIT(task1, "it_smp_task_068", (TSK_ENTRY_FUNC)TaskF01, TASK_PRIO_TEST_TASK - 1);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_069.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_069.c
index 4a66a49c29b29e2ab0185b7a678699d6be82f62e..edf0c6aca31e77163e55e505d7b5fc78205e1032 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_069.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_069.c
@@ -71,7 +71,7 @@ static UINT32 Testcase(void)
UINT32 ret;
TSK_INIT_PARAM_S task1 = { 0 };
g_testCount = 0;
- // 5, lengh of the queue; 50, max queue msg size.
+ // 5, length of the queue; 50, max queue msg size.
ret = LOS_QueueCreate("queue", 5, &g_queue, 0, 50);
TEST_TASK_PARAM_INIT(task1, "it_smp_task_065", (TSK_ENTRY_FUNC)TaskF01, TASK_PRIO_TEST_TASK - 1);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_129.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_129.c
index eeb685fc430c51b97f191377c1fa4402254c6dea..a3bf8d372edc6dd0866ac489bc8c80c39d51a616 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_129.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_129.c
@@ -57,7 +57,7 @@ static UINT32 Testcase(void)
int i;
for (i = 0; i < LOSCFG_KERNEL_CORE_NUM; i++) {
- /* creat core_num same priority tasks */
+ /* create core_num same priority tasks */
task1.usCpuAffiMask = 0;
ret = LOS_TaskCreate(&testTaskIDSmp[i], &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
@@ -72,7 +72,7 @@ static UINT32 Testcase(void)
timesliceCount2 = TestTickCountGet();
- /* Check if task yield definitely successed */
+ /* Check if task yield definitely succeeded */
ICUNIT_GOTO_NOT_EQUAL(timesliceCount2, timesliceCount1, timesliceCount2 - timesliceCount1, EXIT);
for (i = 0; i < LOSCFG_KERNEL_CORE_NUM; i++) {
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/It_los_sem.c b/testsuites/kernel/sample/kernel_base/ipc/sem/It_los_sem.c
index 08468c7ddfe5c2b06fa8f46657114e63d5f9ac20..1c28e50c7d6772cb460bab6628d03e7ef1367391 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/It_los_sem.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/It_los_sem.c
@@ -115,7 +115,7 @@ VOID ItSuiteLosSem(void)
ItLosSem037();
ItLosSem038();
#ifndef LOSCFG_KERNEL_SMP_TASK_SYNC
- // LOSCFG_KERNEL_SMP_TASK_SYNC is opened ,create task success is depend on created semaphore successed;
+ // LOSCFG_KERNEL_SMP_TASK_SYNC is opened ,create task success is depend on created semaphore succeeded;
ItLosSem039();
ItLosSem040();
ItLosSem041();
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_023.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_023.c
index 076fc3f5d982c81ec73bae8c0d4a2d4a4c6ab87c..0f0fd335c3c4a74df05a233f96444b733b121ea1 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_023.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_023.c
@@ -39,7 +39,7 @@ extern "C" {
/* pthread_mutex_init 4-1.c
* Test that pthread_mutex_init()
- * Upon succesful completion, it shall return a 0
+ * Upon successful completion, it shall return a 0
*
*/
static UINT32 Testcase(VOID)
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_027.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_027.c
index 655faa033338ccdf10dd0a596c53d535589453af..8074cd659eb500c3dfd34f0524665201bbfe7dce 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_027.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_027.c
@@ -39,7 +39,7 @@ extern "C" {
/* pthread_mutex_destroy 3-1.c
* Test that pthread_mutex_destroy()
- * Upon succesful completion, it shall return a 0
+ * Upon successful completion, it shall return a 0
*
*/
static UINT32 Testcase(VOID)
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_037.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_037.c
index 101b34aea9be3ac3b016e8133b9adb2c98d3766f..1b9e12a7f21fc5308a8f8c71bbe7213d85507029 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_037.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_037.c
@@ -43,7 +43,7 @@ extern "C" {
* source tree.
* Test that pthread_mutex_lock()
- * Upon succesful completion, it shall return a 0
+ * Upon successful completion, it shall return a 0
*
*/
static UINT32 Testcase(VOID)
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_039.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_039.c
index 563e16a884c8a7427cb41beb63f2e5fbd40f7bce..b2289552311a2a5d1ce8147032f33276fd294166 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_039.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_039.c
@@ -42,7 +42,7 @@ extern "C" {
* shall release the mutex object 'mutex'.
* Steps:
- * -- Initilize a mutex object
+ * -- initialize a mutex object
* -- Get the mutex using pthread_mutex_lock()
* -- Release the mutex using pthread_mutex_unlock()
* -- Try to get the mutex using pthread_mutex_trylock()
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_041.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_041.c
index ea40a1b3d30ca859c091509370183572a9eca012..89318019bf8dd11fa5990a53a3008f6e3c36ab6a 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_041.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_041.c
@@ -39,7 +39,7 @@ extern "C" {
/* pthread_mutex_unlock 3-1.c
* Test that pthread_mutex_unlock()
- * Upon succesful completion, it shall return zero
+ * Upon successful completion, it shall return zero
*
*/
static UINT32 Testcase(VOID)
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_047.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_047.c
index a2c6d8fc37378f58bb91cc68c26578668c7c5648..0b528fe3c941b9a57d52205a65336a9a96c832c3 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_047.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_047.c
@@ -38,7 +38,7 @@ extern "C" {
/* pthread_mutex_trylock 3-1.c
* Test that pthread_mutex_trylock()
- * Upon succesful completion, it shall return a 0
+ * Upon successful completion, it shall return a 0
*
*/
static UINT32 Testcase(VOID)
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_048.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_048.c
index 331c0fcb1e86f899ac9d84eaad03061d7032d637..db32c4be34088913581417c4509d31eec0d2ecde 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_048.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_048.c
@@ -43,7 +43,7 @@ extern "C" {
* -[EBUSY] The mutex could not be acquired because it was already locked.
* Steps:
- * -- Initilize a mutex object
+ * -- initialize a mutex object
* -- Lock the mutex using pthread_mutex_lock()
* -- Try to lock the mutex using pthread_mutex_trylock() and expect EBUSY
*
diff --git a/testsuites/unittest/common/osTest.cpp b/testsuites/unittest/common/osTest.cpp
index f2d45da78f238550f651d6358a6b7f4c5dc59b07..e96863edc88687f6346ba911ca59331d7f937812 100644
--- a/testsuites/unittest/common/osTest.cpp
+++ b/testsuites/unittest/common/osTest.cpp
@@ -366,7 +366,7 @@ VOID TestInitUartDev(VOID) {}
/* ****************************************
Function:Test_PartInit
-Description: creat a partition for testing,partition num is 0,mount point is jffs0
+Description: create a partition for testing,partition num is 0,mount point is jffs0
Input:
[1]type: "spinor"
[2]start_addr: the partition start address
diff --git a/testsuites/unittest/extended/liteipc/smgr_demo.cpp b/testsuites/unittest/extended/liteipc/smgr_demo.cpp
index 624f2883c5d72da4c3f3d6cabde54f0166cc07da..1695b914dfaaad2b1e6a3a6dab391349973be1bf 100644
--- a/testsuites/unittest/extended/liteipc/smgr_demo.cpp
+++ b/testsuites/unittest/extended/liteipc/smgr_demo.cpp
@@ -196,7 +196,7 @@ static void HandleServiceRegAndGet(int fd, IpcMsg *data)
}
}
}
- printf("recieve service request, code:%d, service name:%s\n", data->code, info->serviceName);
+ printf("receive service request, code:%d, service name:%s\n", data->code, info->serviceName);
switch (data->code) {
case REG_CODE:
if (i == MAX_SREVICE_NUM) {
diff --git a/testsuites/unittest/extended/signal/full/signal_test_017.cpp b/testsuites/unittest/extended/signal/full/signal_test_017.cpp
index d1d4ec540b34af353d6004240e3e748d908fb7fc..08968aa7cf288b313dabdd20fed4dc415fb32ca2 100644
--- a/testsuites/unittest/extended/signal/full/signal_test_017.cpp
+++ b/testsuites/unittest/extended/signal/full/signal_test_017.cpp
@@ -131,7 +131,7 @@ static int TestMultiPthreadFatherProcessExit()
sleep(1);
retValue = waitpid(fpids, &status, 0);
// grandchild process kill father process, so child process is recovered by init process
- // child process doesn't receive termination singal from grandchild process
+ // child process doesn't receive termination signal from grandchild process
// so waitpid() returns -1
ICUNIT_ASSERT_EQUAL(retValue, -1, retValue);
exit(1);
diff --git a/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_043.cpp b/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_043.cpp
index 37aa3c04567799a067c185b0d7f1268e8f7de696..5b4e65d7187c775d7f4f74a577303931ed84217e 100644
--- a/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_043.cpp
+++ b/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_043.cpp
@@ -82,10 +82,10 @@ EXIT:
4. use the mq_close to close the mqueue;
5. use the mq_unlink to delete the mqueue.
*-@texpect
-1. Return successed
-2. Return successed
-3. Return successed
-4. Return successed
+1. Return succeeded
+2. Return succeeded
+3. Return succeeded
+4. Return succeeded
5. Successful operation
*-@tprior 1
*-@tauto TRUE