!52 【轻量级 PR】:update kernel/extended/liteipc/hm_liteipc.c. 修改一个不不合理的英文用词

Merge pull request !52 from Harmonica/N/A
This commit is contained in:
openharmony_ci 2021-02-18 10:00:36 +08:00 committed by Gitee
commit e351799d39
1 changed files with 2 additions and 2 deletions

View File

@ -929,7 +929,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 CopyDataFromUser(IpcListNode *node, UINT32 bufSz,
return LOS_OK;
}
LITE_OS_SEC_TEXT STATIC BOOL IsLeagalReply(const IpcContent *content)
LITE_OS_SEC_TEXT STATIC BOOL IsValidReply(const IpcContent *content)
{
UINT32 curProcessID = LOS_GetCurrProcessID();
IpcListNode *node = (IpcListNode *)GetIpcKernelAddr(curProcessID, (INTPTR)(content->buffToFree));
@ -983,7 +983,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 CheckPara(IpcContent *content, UINT32 *dstTid)
if ((flag & BUFF_FREE) != BUFF_FREE) {
return -EINVAL;
}
if (!IsLeagalReply(content)) {
if (!IsValidReply(content)) {
return -EINVAL;
}
#if (USE_TIMESTAMP == YES)