fix:内源代码检视拼写错误修改

【背景】3.1代码review问题修改

    【修改方案】
     根据检视意见对拼写错误进行修改

     Signed-off-by: xuiny <xuxinyu6@huawei.com>

Change-Id: I9fb982a8ba2052fa4d56e91eec33c96ab4035a90
This commit is contained in:
x_xiny
2022-03-14 15:53:52 +08:00
parent 87a7df48b8
commit 0f75bf01a6
223 changed files with 318 additions and 318 deletions

View File

@@ -59,7 +59,7 @@ extern "C" {
/**
* @ingroup los_memory
* The recored layers of function call.
* The recorded layers of function call.
*/
#define LOS_RECORD_LR_CNT 3
#endif
@@ -101,11 +101,11 @@ extern UINT32 LOS_MemDeInit(VOID *pool);
/**
* @ingroup los_memory
* @brief Print infomation about all pools.
* @brief Print information about all pools.
*
* @par Description:
* <ul>
* <li>This API is used to print infomation about all pools.</li>
* <li>This API is used to print information about all pools.</li>
* </ul>
*
* @retval #UINT32 The pool number.
@@ -351,11 +351,11 @@ extern UINT32 LOS_MemTotalUsedGet(VOID *pool);
/**
* @ingroup los_memory
* @brief Get the infomation of memory pool.
* @brief Get the information of memory pool.
*
* @par Description:
* <ul>
* <li>This API is used to get the infomation of memory pool.</li>
* <li>This API is used to get the information of memory pool.</li>
* </ul>
* @attention
* <ul>
@@ -366,7 +366,7 @@ extern UINT32 LOS_MemTotalUsedGet(VOID *pool);
* @param poolStatus [IN] A pointer for storage the pool status
*
* @retval #LOS_NOK The incoming parameter pool is NULL or invalid.
* @retval #LOS_OK Success to get memory infomation.
* @retval #LOS_OK Success to get memory information.
* @par Dependency:
* <ul><li>los_memory.h: the header file that contains the API declaration.</li></ul>
* @see None.

View File

@@ -80,7 +80,7 @@ typedef VOID (*pf_OUTPUT)(const CHAR *fmt, ...);
* <li>None</li>
* </ul>
*
* @param fmt [IN] Type char* controls the ouput as in C printf.
* @param fmt [IN] Type char* controls the output as in C printf.
*
* @retval None
* @par Dependency:

View File

@@ -184,7 +184,7 @@ extern UINT32 LOS_RwlockTryRdLock(LosRwlock *rwlock);
* the task scheduling.</li>
* is disabled.</li>
* <li>Do not wait on a rwlock during an interrupt.</li>
* <li>The funtion fails when other tasks have the read or write lock.</li>
* <li>The function fails when other tasks have the read or write lock.</li>
* <li>A recursive rwlock can be locked more than once by the same thread.</li>
* <li>Do not call this API in software timer callback. </li>
* </ul>
@@ -218,7 +218,7 @@ extern UINT32 LOS_RwlockWrLock(LosRwlock *rwlock, UINT32 timeout);
* when the task scheduling.</li>
* is disabled.</li>
* <li>Do not wait on a rwlock during an interrupt.</li>
* <li>The funtion fails when other tasks have the read or write lock.</li>
* <li>The function fails when other tasks have the read or write lock.</li>
* <li>A recursive rwlock can be locked more than once by the same thread.</li>
* <li>Do not call this API in software timer callback. </li>
* </ul>

View File

@@ -221,7 +221,7 @@ extern "C" {
/**
* @ingroup los_task
* Task error code: The task yeild occurs when the task is locked.
* Task error code: The task yield occurs when the task is locked.
* Value: 0x0200020f
*
* Solution: Check the task.
@@ -411,7 +411,7 @@ extern "C" {
/**
* @ingroup los_task
* Task error code: Task yeild in int is not permited, which will result in unexpected result.
* Task error code: Task yield in int is not permited, which will result in unexpected result.
*
* Value: 0x02000224
*

View File

@@ -235,7 +235,7 @@ typedef struct {
/**
* @ingroup los_trace
* struct to store the event infomation
* struct to store the event information
*/
typedef struct {
UINT32 eventType; /**< event type */
@@ -377,8 +377,8 @@ extern TRACE_EVENT_HOOK g_traceEventHook;
#define QUEUE_CREATE_PARAMS(queueId, queueSz, itemSz, queueAddr, memType) \
queueId, queueSz, itemSz, queueAddr, memType
#define QUEUE_DELETE_PARAMS(queueId, state, readable) queueId, state, readable
#define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writeable, timeout) \
queueId, queueSize, bufSize, operateType, readable, writeable, timeout
#define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writable, timeout) \
queueId, queueSize, bufSize, operateType, readable, writable, timeout
#define SEM_CREATE_PARAMS(semId, type, count) semId, type, count
#define SEM_DELETE_PARAMS(semId, delRetCode) semId, delRetCode