ef3cb5ba1c
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> |
||
---|---|---|
.. | ||
acrn_common.h | ||
acrn_hv_defs.h |