mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-08 18:25:05 +00:00
This patch fixes the MISRA-C violations in arch/x86/vmcs.c. * add local variable if the input parameter passed by value is changed in function definition * move the variable declaration inside function scope if this variable is only used in one function Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>