Files
acrn-hypervisor/hypervisor/arch/x86
Shiqing Gao 8e58a686f1 hv: vmcs: fix MISRA-C violations related to variable scope
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>
2018-12-19 13:04:23 +08:00
..
2018-12-19 09:07:14 +08:00
2018-12-12 13:08:10 +08:00
2018-11-13 16:28:58 +08:00
2018-12-19 09:07:14 +08:00
2018-12-18 08:51:18 +08:00
2018-12-14 15:24:26 +08:00
2018-12-17 14:31:52 +08:00
2018-12-12 13:08:10 +08:00
2018-12-19 09:07:14 +08:00
2018-12-12 13:08:10 +08:00
2018-12-17 14:31:52 +08:00
2018-12-12 13:08:10 +08:00
2018-12-12 13:08:10 +08:00