acrn-hypervisor/hypervisor/boot
Huihuang Shi ab3d7c87fd hv: boot: 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.
V1->V2:
    change the probe_table return value to bool type

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
..
include hv: fix 'Start of variable is upper case' 2018-11-08 15:39:09 +08:00
sbl hv: boot: fix "Procedure has more than one exit point" 2018-11-29 15:03:48 +08:00
acpi.c hv: boot: fix "Procedure has more than one exit point" 2018-11-29 15:03:48 +08:00
dmar_parse.c hv: fix integer violations 2018-11-06 16:18:56 +08:00
reloc.c hv: reloc: define data structure and MACRO when necessary 2018-11-26 12:42:03 +08:00