acrn-hypervisor/hypervisor/common
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
..
hv_main.c HV: Enclose debug specific code with #ifdef HV_DEBUG 2018-08-15 11:17:29 +08:00
hypercall.c hv: ept: refine ept_mr_add base on mmu_add 2018-08-23 11:10:26 +08:00
io_request.c HV: io: drop REQ_STATE_FAILED 2018-08-15 12:04:12 +08:00
ptdev.c hv: ptdev: add source_id for ptdev to identify source 2018-08-23 11:10:04 +08:00
schedule.c idle: enable IRQ in default idle 2018-08-15 12:05:18 +08:00
softirq.c hv: softirq: refine softirq 2018-08-01 11:36:27 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
static_checks.c hv: add compile time assert for static checks 2018-08-14 13:05:06 +08:00
trusty_hypercall.c HV: trusty: new hypercall to save/restore context of secure world 2018-08-09 15:09:15 +08:00
vm_load.c hv: fix MISRA-C issues related to for loop 2018-08-31 09:20:48 +08:00