acrn-hypervisor/hypervisor/dm/vpci
Zide Chen 12211fb67b hv: fix MISRA-C violations in dm/vpci
120D: Pointer param should be declared pointer to const.
  Add 'const' qualifier to function parameters whenever it's possible:
    alloc_pci_vdev()
    enumerate_pci_dev()
    pci_scan_bus()
    pci_enumeration_cb()
    partition_mode_vpci_init()
    partition_mode_vpci_deinit()
    sharing_mode_vpci_init()
    sharing_mode_vpci_deinit()
    vpci_cleanup()

45D: Pointer not checked for null before use.
  Check pointer vm in vpci_reset_ptdev_intr_info() before using it.

Tracked-On: #861
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2019-01-11 14:28:45 +08:00
..
core.c hv: fix MISRA-C violations "Pointer param should be declared pointer to const." 2018-12-19 13:03:03 +08:00
hostbridge.c hv: fix MISRA-C violations "Pointer param should be declared pointer to const." 2018-12-19 13:03:03 +08:00
msi.c hv: fix MISRA-C violations "Pointer param should be declared pointer to const." 2018-12-19 13:03:03 +08:00
msix.c hv: coding style: refine functions under dm/ to one exit point 2019-01-09 15:58:24 +08:00
partition_mode.c hv: fix MISRA-C violations in dm/vpci 2019-01-11 14:28:45 +08:00
pci_priv.h hv: fix MISRA-C violations "Pointer param should be declared pointer to const." 2018-12-19 13:03:03 +08:00
pci_pt.c hv: fix MISRA-C violations "Pointer param should be declared pointer to const." 2018-12-19 13:03:03 +08:00
sharing_mode.c hv: fix MISRA-C violations in dm/vpci 2019-01-11 14:28:45 +08:00
vpci.c hv: fix MISRA-C violations in dm/vpci 2019-01-11 14:28:45 +08:00