chore: 修复社区反馈问题Percpu结构体注释错误

修复社区反馈问题Percpu结构体注释错误,排查下其他拼写错误。

close #I4GMLH

Signed-off-by: kenneth <zhushangyuan@huawei.com>
This commit is contained in:
kenneth
2021-11-03 10:22:07 +08:00
parent f63ce99399
commit 0f878febb7
53 changed files with 157 additions and 157 deletions

View File

@@ -88,16 +88,16 @@ STATIC VOID UartOutput(const CHAR *str, UINT32 len, BOOL isLock)
#ifdef LOSCFG_PLATFORM_CONSOLE
STATIC VOID ConsoleOutput(const CHAR *str, UINT32 len)
{
ssize_t writen = 0;
ssize_t written = 0;
ssize_t cnt;
ssize_t toWrite = len;
for (;;) {
cnt = write(STDOUT_FILENO, str + writen, (size_t)toWrite);
cnt = write(STDOUT_FILENO, str + written, (size_t)toWrite);
if ((cnt < 0) || ((cnt == 0) && (OS_INT_ACTIVE)) || (toWrite == cnt)) {
break;
}
writen += cnt;
written += cnt;
toWrite -= cnt;
}
}