acrn-hypervisor/hypervisor/arch/x86/guest
Shiqing Gao 10c64a5fca hv: fix MISRA-C issues related to for loop
This patch fixes the following issues:
- Assignment operation in expression.
- For loop incrementation is not simple.
- No brackets to loop body.
- Use of comma operator.

v1 -> v2:
 * Replace &x->y with &(x->y) based on our new coding rule

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2018-08-31 09:20:48 +08:00
..
guest.c hv: ept: refine ept_mr_add base on mmu_add 2018-08-23 11:10:26 +08:00
instr_emul.c hv: add gva check for the case gva is from instruction decode 2018-08-23 11:13:48 +08:00
instr_emul.h HV: instr_emul: Remove dead code 2018-08-07 12:09:22 +08:00
mptable.c hv: fix size issue in mptable guest copy - ACRN partition mode 2018-08-17 10:06:38 +08:00
pm.c hv: fix MISRA-C issues related to for loop 2018-08-31 09:20:48 +08:00
ucode.c hv: get correct fault address for copy_to/from_gva 2018-08-09 14:46:13 +08:00
vcpu.c hv: code clean up regarding to guest_msrs 2018-08-28 11:08:48 +08:00
vlapic_priv.h HV: remove callbacks registration for APICv functions 2018-08-23 11:11:21 +08:00
vlapic.c HV: Refine APICv capabilities detection 2018-08-24 09:58:58 +08:00
vm.c hv:Replace vioapic pointer with instance in structure vm 2018-08-27 09:49:12 +08:00
vmcall.c hv: add a hypercall for the hypervisor NPK log 2018-08-23 11:09:25 +08:00
vmsr.c hv: code clean up regarding to guest_msrs 2018-08-28 11:08:48 +08:00