acrn-hypervisor/hypervisor/include/arch/x86/guest
Huihuang Shi 2afa7173ef hv: vlapic: fix "Procedure has more than one exit point"
IEC 61508,ISO 26262 standards highly recommend single-exit rule.

Reduce the count of the "return entries".
Fix the violations which is comply with the cases list below:
1.Function has 2 return entries.
2.The first return entry is used to return the error code of
checking variable whether is valid.

Fix the violations in "if else" format.

Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-11-27 14:43:16 +08:00
..
guest_pm.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
guest.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
mptable.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
ucode.h HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.h hv: switch IA32_TSC_AUX between host/guest through VM Controls 2018-11-27 09:26:29 +08:00
vioapic.h hv: vioapic: clean up HV_DEBUG usage 2018-11-23 12:21:02 +08:00
vlapic.h hv: vlapic: fix "Procedure has more than one exit point" 2018-11-27 14:43:16 +08:00
vm0_boot.h HV: save the cs limit field for SOS 2018-11-01 13:11:40 +08:00
vm.h hv: Add IO request completion polling feature 2018-11-21 14:35:12 +08:00
vpic.h hv:Add vpin to ptdev entry mapping for vpic/vioapic 2018-11-22 11:26:04 +08:00