mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-11 21:59:26 +00:00
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:
@@ -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);
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
Reference in New Issue
Block a user