mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +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:
@@ -353,7 +353,7 @@ static int32_t vmsix_init(struct pci_vdev *vdev)
|
||||
uint32_t msgctrl;
|
||||
uint32_t table_info, i;
|
||||
uint64_t addr_hi, addr_lo;
|
||||
struct msix *msix = &vdev->msix;
|
||||
struct pci_msix *msix = &vdev->msix;
|
||||
int32_t ret;
|
||||
|
||||
msgctrl = pci_pdev_read_cfg(vdev->pdev.bdf, vdev->msix.capoff + PCIR_MSIX_CTRL, 2U);
|
||||
|
||||
Reference in New Issue
Block a user