!520 pm codex告警清零

Merge pull request !520 from zhushengle/codex
This commit is contained in:
openharmony_ci 2021-12-31 07:22:52 +00:00 committed by Gitee
commit 1af387098f
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ UINT32 LOS_PmLockRelease(const CHAR *name)
STATIC VOID OsPmSwtmrHandler(UINT32 arg) STATIC VOID OsPmSwtmrHandler(UINT32 arg)
{ {
const CHAR *name = (const CHAR *)arg; const CHAR *name = (const CHAR *)(UINTPTR)arg;
UINT32 ret = LOS_PmLockRelease(name); UINT32 ret = LOS_PmLockRelease(name);
if (ret != LOS_OK) { if (ret != LOS_OK) {
PRINT_ERR("Pm delay lock %s release faled! : 0x%x\n", name, ret); PRINT_ERR("Pm delay lock %s release faled! : 0x%x\n", name, ret);