acrn-hypervisor/hypervisor/common
Huihuang Shi 9f13a51e8a hv: hypercall: VM management 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:
    update the git comment to describe why comply with the
single-exit rule.

V2->V3:
    update the git comment title to give a scope declaration of this
patch.

Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-11-27 09:27:00 +08:00
..
hv_main.c hv: switch IA32_TSC_AUX between host/guest through VM Controls 2018-11-27 09:26:29 +08:00
hypercall.c hv: hypercall: VM management fix "Procedure has more than one exit point" 2018-11-27 09:27:00 +08:00
io_request.c hv: Add IO request completion polling feature 2018-11-21 14:35:12 +08:00
ptdev.c hv:Cleanup ptdev lock 2018-11-22 11:26:04 +08:00
schedule.c hv: Add IO request completion polling feature 2018-11-21 14:35:12 +08:00
softirq.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
static_checks.c hv: fix a minor bug of static checks 2018-11-08 09:26:56 +08:00
trusty_hypercall.c hv: fix integer violations 2018-11-14 12:46:34 +08:00
vm_load.c hv: fix integer violations 2018-11-06 16:18:56 +08:00