mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-01 13:14:02 +00:00
According to the syntax defined in C99, each struct/union field must have an identifier. This patch removes unnamed struct/union fields that can be easily expressed in a C99-compatible way. Here is a summary of structs/unions removed. struct vhm_request: union { uint32_t type; uint32_t type; int32_t reserved0[16]; => int32_t reserved0[15]; }; struct vhm_request_buffer: struct vhm_request_buffer { union { union vhm_request_buffer { struct vhm_request ...; => struct vhm_request ...; int8_t reserved[4096]; int8_t reserved[4096]; } } } Signed-off-by: Junjie Mao <junjie.mao@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
||
---|---|---|
.. | ||
hv_main.c | ||
hypercall.c | ||
io_request.c | ||
schedule.c | ||
stack_protector.c | ||
trusty_hypercall.c | ||
vm_load.c |