未验证 提交 1dd0757a 编写于 作者: O openharmony_ci 提交者: Gitee

!32 3.0 LTS 告警清零

Merge pull request !32 from yinjiaming/OpenHarmony-3.0-LTS
...@@ -197,7 +197,7 @@ static inline int AccessOk(int type, unsigned long ptr, unsigned int size) ...@@ -197,7 +197,7 @@ static inline int AccessOk(int type, unsigned long ptr, unsigned int size)
static inline int GetTaskUid(LosTaskCB *task) static inline int GetTaskUid(LosTaskCB *task)
{ {
#ifdef LOSCFG_SECURITY_CAPABILITY #ifdef LOSCFG_SECURITY_CAPABILITY
int intSave = LOS_IntLock(); unsigned int intSave = LOS_IntLock();
int uid = -1; int uid = -1;
LosProcessCB *process = OS_PCB_FROM_PID(task->processID); LosProcessCB *process = OS_PCB_FROM_PID(task->processID);
......
...@@ -317,7 +317,7 @@ static void ShowInBitmap(int *cmdIn, uint32_t len) ...@@ -317,7 +317,7 @@ static void ShowInBitmap(int *cmdIn, uint32_t len)
for (idx = 0; idx < MAX_SMC_CMD; idx++) { for (idx = 0; idx < MAX_SMC_CMD; idx++) {
if (HmTestBit(idx, g_cmdData->inBitmap)) { if (HmTestBit(idx, g_cmdData->inBitmap)) {
bitmap[idx] = '1'; bitmap[idx] = '1';
cmdIn[in++] = idx; cmdIn[in++] = (int)idx;
} else { } else {
bitmap[idx] = '0'; bitmap[idx] = '0';
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册