Files
acrn-hypervisor/hypervisor/include/arch/x86
Huihuang Shi 10bde520a5 hv: other: 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-12-03 11:10:04 +08:00
..
2018-12-03 09:09:44 +08:00
2018-12-03 09:09:44 +08:00
2018-09-18 09:43:43 +08:00
2018-11-23 12:21:02 +08:00
2018-11-30 14:55:17 +08:00
2018-11-30 18:14:59 +08:00
2018-11-21 14:45:43 +08:00
2018-11-30 14:55:17 +08:00
2018-11-30 18:14:59 +08:00
2018-11-27 09:32:27 +08:00
2018-11-30 14:55:17 +08:00
2018-10-10 13:02:00 +08:00
2018-11-13 16:28:58 +08:00
2018-11-30 18:14:59 +08:00