mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-13 11:33:58 +00:00
hv: fix 'Space missing before or after binary operator'
This patch adds the necessary space before or after binary operator. v1 -> v2: * minor fix related to integer [i - 1] ====> [i - 1U] Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
This commit is contained in:
@@ -50,7 +50,7 @@ static void prepare_bsp_gdt(struct acrn_vm *vm)
|
||||
return;
|
||||
} else {
|
||||
gdt_base_hva = hpa2hva(gdt_base_hpa);
|
||||
gdt_len = ((size_t)boot_context.gdt.limit + 1U)/sizeof(uint8_t);
|
||||
gdt_len = ((size_t)boot_context.gdt.limit + 1U) / sizeof(uint8_t);
|
||||
|
||||
(void )memcpy_s(gdt_base_hva, gdt_len, hpa2hva(boot_context.gdt.base), gdt_len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user