hv:vtd: fix MISRA-C violations on pointer param should be declared pointer to const

This patch fix MISRA-C violations in arch/x86/vtd.c
on pointer param should be declared pointer to const.

Tracked-On: #861
Signed-off-by: Tw <wei.tan@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Tw
2018-12-20 09:38:34 +08:00
committed by wenlingz
parent 5282fa899d
commit 80b392a854
2 changed files with 2 additions and 2 deletions

View File

@@ -622,7 +622,7 @@ void init_iommu_vm0_domain(struct acrn_vm *vm0);
* @retval false not support
*
*/
bool iommu_snoop_supported(struct acrn_vm *vm);
bool iommu_snoop_supported(const struct acrn_vm *vm);
/**
* @}