mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
hv: use int32_t replace int
Since it's typedef in "include/lib/types.h" Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -613,7 +613,7 @@ int32_t hcall_set_vm_memory_regions(struct acrn_vm *vm, uint64_t param)
|
||||
|
||||
idx = 0U;
|
||||
while (idx < regions.mr_num) {
|
||||
int ret;
|
||||
int32_t ret;
|
||||
|
||||
if (copy_from_gpa(vm, &mr, regions.regions_gpa + idx * sizeof(mr), sizeof(mr)) != 0) {
|
||||
pr_err("%s: Copy mr entry fail from vm\n", __func__);
|
||||
|
||||
Reference in New Issue
Block a user