acrn-hypervisor/hypervisor/include
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
..
arch/x86 hv: vlapic: fix "Procedure has more than one exit point" 2018-11-27 14:43:16 +08:00
common hv: assign: clean up HV_DEBUG usage related to shell 2018-11-23 12:21:02 +08:00
debug hv: hypercall: clean up HV_DEBUG usage 2018-11-20 10:01:50 +08:00
dm hv: fix 'Expression is not Boolean' 2018-11-08 13:04:11 +08:00
lib hv: Derive decryption key from Seed for Trusty to decrypt attestation keybox 2018-11-20 09:22:37 +08:00
public hv: Add IO request completion polling feature 2018-11-21 14:35:12 +08:00
hv_debug.h HV: Added Initial support for SEP/SOCWATCH profiling 2018-10-26 13:39:07 +08:00
hypervisor.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00