fix: 内核告警清理

【背景】
内核中经扫描有可以修改的告警之处

【修改方案】
优化了代码的格式

【影响】
对现有的产品编译不会有影响。

re #I5SHM2

Signed-off-by: yinjiaming <yinjiaming@huawei.com>
Change-Id: I89be86a8317637f9eb54257131712b5b79f1e454
This commit is contained in:
yinjiaming 2022-09-22 11:45:19 +08:00
parent 96b2d557ac
commit 204d7a4abb
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ static UINT32 TestCase(VOID)
ioctl(fd, TRACE_STOP, NULL);
buffer = (char *)malloc(size);
buffer = static_cast<char *>(malloc(size));
if (buffer == NULL) {
printf("Read buffer malloc failed!\n");
goto EXIT;

View File

@ -38,7 +38,7 @@
#include "unistd.h"
#include "search.h"
#define MISC_OK 0
#define MISC_NOK -1
#define MISC_NOK (-1)
extern VOID ItTestMisc001(VOID);
extern VOID ItTestMisc002(VOID);