提交 5dabe5e1 编写于 作者: H Harmonica 提交者: Gitee

update kernel/extended/liteipc/hm_liteipc.c. 修改一个不不合理的英文用词

上级 0d56a61a
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册