acrn-hypervisor/hypervisor/common
Xiangyang Wu 188210ab03 HV:Treewide:Update the type of vcpu id as uint16_t
In the hypervisor, virtual cpu id is defined as "int" or "uint32_t"
type in the hypervisor. So there are some sign conversion issues
about virtual cpu id (vcpu_id) reported by static analysis tool.
Sign conversion violates the rules of MISRA C:2012.

BTW, virtual cpu id has different names (vcpu_id, cpu_id, logical_id)
 for different modules of HV, its type is defined as "int" or "uint32_t"
in the HV. cpu_id type and logical_id type clean up will be done in
other patchs.

V1-->V2:
         More clean up the type of vcpu id;
         "%hu" is for vcpu id in the print function.

Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com>
2018-07-04 14:28:52 +08:00
..
hv_main.c HV:common:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
hypercall.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
io_request.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
ptdev.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
schedule.c HV:common:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
trusty_hypercall.c HV:common:transfer local variable type 2018-06-29 09:49:29 +08:00
vm_load.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00