acrn-hypervisor/hypervisor/dm
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
..
vpci hv: fix MISRA-C violations in dm/vpci 2019-01-11 14:28:45 +08:00
vioapic.c hv: vioapici: Change interrupt pin to uint32_t 2019-01-10 23:52:25 +08:00
vmptable.c HV: refine vmptable for partition mode 2019-01-11 10:55:14 +08:00
vpic.c hv:Unify the MACRO name for invalid interrupt pin 2019-01-10 23:52:25 +08:00
vrtc.c hv: rename register_io_emulation_handler 2019-01-08 11:28:13 +08:00