mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
hv: MISRA-C fix "identifier reuse" in vpci code
13X: Identifier reuse: tag vs component. A tag name shall be a unique identifier Change the following names: struct msi --> struct pci_msi struct msix --> struct pci_msix struct vpci --> struct acrn_vpci union cfgdata -> union pci_cfgdata Tracked-On: #861 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -151,7 +151,7 @@ struct acrn_vm {
|
||||
|
||||
uint32_t vcpuid_entry_nr, vcpuid_level, vcpuid_xlevel;
|
||||
struct vcpuid_entry vcpuid_entries[MAX_VM_VCPUID_ENTRIES];
|
||||
struct vpci vpci;
|
||||
struct acrn_vpci vpci;
|
||||
#ifdef CONFIG_PARTITION_MODE
|
||||
struct vm_description *vm_desc;
|
||||
uint8_t vrtc_offset;
|
||||
|
||||
Reference in New Issue
Block a user