mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 09:06:30 +00:00
HV: ve820 fix "Casting operation to a pointer"
ACRN Coding guidelines requires two different types pointer can't convert to each other, except void *. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
This commit is contained in:
@@ -46,5 +46,5 @@ static const struct e820_entry ve820_entry[VE820_ENTRIES_DNV_CB2] = {
|
||||
void create_prelaunched_vm_e820(struct acrn_vm *vm)
|
||||
{
|
||||
vm->e820_entry_num = VE820_ENTRIES_DNV_CB2;
|
||||
vm->e820_entries = (struct e820_entry *)ve820_entry;
|
||||
vm->e820_entries = ve820_entry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user