Files
acrn-hypervisor/hypervisor/arch/x86
Shiqing Gao e283e77424 hv: vmcs: fix MISRA-C violations related to multiple exits
This patch fixes the MISRA-C violations in arch/x86/vmcs.c.
 * make the function have only one exit point

v1 -> v2:
 * update 'is_cr0_write_valid' and 'is_cr4_write_valid'
   use `if ... else` rather than check 'ret' value

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