Files
acrn-hypervisor/hypervisor/arch/x86
Huihuang Shi 17a6d9446e hv: guest: 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-29 15:03:48 +08:00
..
2018-11-05 15:35:49 +08:00
2018-11-09 13:00:51 +08:00
2018-11-13 16:28:58 +08:00
2018-11-27 13:09:04 +08:00
2018-11-14 12:46:34 +08:00
2018-11-05 15:35:49 +08:00
2018-11-13 16:28:58 +08:00
2018-11-05 15:35:49 +08:00
2018-08-16 16:24:13 +08:00
2018-11-20 13:30:13 +08:00