chore: 修复社区反馈问题Percpu结构体注释错误
修复社区反馈问题Percpu结构体注释错误,排查下其他拼写错误。 close #I4GMLH Signed-off-by: kenneth <zhushangyuan@huawei.com>
This commit is contained in:
@@ -998,7 +998,7 @@ INT32 los_part_read(INT32 pt, VOID *buf, UINT64 sector, UINT32 count, BOOL useRe
|
||||
}
|
||||
|
||||
if (count > part->sector_count) {
|
||||
PRINT_ERR("los_part_read failed, invaild count, count = %u\n", count);
|
||||
PRINT_ERR("los_part_read failed, invalid count, count = %u\n", count);
|
||||
goto ERROR_HANDLE;
|
||||
}
|
||||
|
||||
@@ -1007,7 +1007,7 @@ INT32 los_part_read(INT32 pt, VOID *buf, UINT64 sector, UINT32 count, BOOL useRe
|
||||
if ((disk->sector_count - part->sector_start) > sector) {
|
||||
sector += part->sector_start;
|
||||
} else {
|
||||
PRINT_ERR("los_part_read failed, invaild sector, sector = %llu\n", sector);
|
||||
PRINT_ERR("los_part_read failed, invalid sector, sector = %llu\n", sector);
|
||||
goto ERROR_HANDLE;
|
||||
}
|
||||
}
|
||||
@@ -1054,7 +1054,7 @@ INT32 los_part_write(INT32 pt, const VOID *buf, UINT64 sector, UINT32 count)
|
||||
}
|
||||
|
||||
if (count > part->sector_count) {
|
||||
PRINT_ERR("los_part_write failed, invaild count, count = %u\n", count);
|
||||
PRINT_ERR("los_part_write failed, invalid count, count = %u\n", count);
|
||||
goto ERROR_HANDLE;
|
||||
}
|
||||
|
||||
@@ -1063,7 +1063,7 @@ INT32 los_part_write(INT32 pt, const VOID *buf, UINT64 sector, UINT32 count)
|
||||
if ((disk->sector_count - part->sector_start) > sector) {
|
||||
sector += part->sector_start;
|
||||
} else {
|
||||
PRINT_ERR("los_part_write failed, invaild sector, sector = %llu\n", sector);
|
||||
PRINT_ERR("los_part_write failed, invalid sector, sector = %llu\n", sector);
|
||||
goto ERROR_HANDLE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user