fix: kora工具检视问题修复
【背景】kora工具检视问题修复

【修改方案】
1,对部分代码问题进行整改

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

Signed-off-by: wangchen <wangchen64@huawei.com>
Change-Id: Iafc58b7c71e5d139e11a0ae9d98ca5a57fc6549f
This commit is contained in:
wangchen
2022-03-22 12:52:03 +00:00
committed by wangchen
parent 1c18d227cf
commit f60fdfecda
40 changed files with 146 additions and 248 deletions

View File

@@ -46,7 +46,7 @@ UINT32 TestGetSingleHwiCpup(UINT32 hwi, UINT32 mode)
{
UINT32 size;
UINT32 tempHwi;
if (hwi < 0 || hwi > OS_HWI_MAX_NUM) {
if (hwi > OS_HWI_MAX_NUM) {
return -1;
}