acrn-hypervisor/hypervisor/debug
Shiqing Gao b430b00a08 hv: fix 'Expression is not Boolean'
MISRA-C requires that the controlling expression of an if statement or
an iteration-statement shall be Boolean type.

v1 -> v2:
* update the U suffix of constant to let the type of operands
  to bit operations (&) is the same.
* update the type of 'i' from uint64_t to uint16_t in
  'profiling_set_control' since it is limited by phys_cpu_num,
  which is uint16_t.

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-11-08 13:04:11 +08:00
..
console.c hv:clear up the usage of printf data struct 2018-09-28 16:40:07 +08:00
dump.c HV:treewide:rename vcpu_arch data structure 2018-11-05 15:35:49 +08:00
hypercall.c HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
logmsg.c hv:Replace dynamic memory with static for sbuf 2018-11-01 11:21:49 +08:00
npk_log.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
printf.c fix "Casting operation to a pointer" 2018-11-06 13:37:33 +08:00
profiling.c hv: fix 'Expression is not Boolean' 2018-11-08 13:04:11 +08:00
sbuf.c hv:Replace dynamic memory with static for sbuf 2018-11-01 11:21:49 +08:00
shell_priv.h hv: fix integer violations 2018-11-02 11:05:32 +08:00
shell.c HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
uart16550.c hv:clear up the usage of printf data struct 2018-09-28 16:40:07 +08:00
uart16550.h hv: fix integer violations 2018-11-02 11:05:32 +08:00
vuart.c HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00