acrn-hypervisor/hypervisor/debug
Xiangyang Wu 3446e84ea5 HV:treewide:rename struct timer as struct hv_timer
The variable timer's name is identical with struct
timer s name. This MISRA C violation is detected
by static analysis tool.
According to naming convention rule: If the data
structure type is used by multi modules, its
corresponding logic resource is only used by
hypervisor/host and isn't exposed to external
components (such as SOS, UOS), its name meaning
is simplistic (such as timer), its name needs prefix
"hv_".

Rename struct timer as struct hv_timer.
Replace regular expression:s/struct timer\([ ),;\t\*]\+\)
/struct hv_timer\1

Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-30 10:16:36 +08:00
..
console.c HV:treewide:rename struct timer as struct hv_timer 2018-07-30 10:16:36 +08:00
dump.c HV: Rename functions beginning with "_" 2018-07-30 10:11:54 +08:00
logmsg.c HV: logical and high level precedence expression needs brackets 2018-07-24 10:10:39 +08:00
printf.c HV:treewide:fix "Reference parameter to procedure is reassigned" 2018-07-27 12:17:12 +08:00
sbuf.c HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
serial_internal.h HV:treewide:fix "Reference parameter to procedure is reassigned" 2018-07-27 12:17:12 +08:00
serial.c HV:treewide:fix "Reference parameter to procedure is reassigned" 2018-07-27 12:17:12 +08:00
shell_internal.c hv:Change shell_init to void type 2018-07-25 17:06:44 +08:00
shell_internal.h hv:Change shell_init to void type 2018-07-25 17:06:44 +08:00
shell_public.c hv:Change shell_init to void type 2018-07-25 17:06:44 +08:00
uart16550.c HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
uart16550.h HV: treewide: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
vuart.c HV:treewide:fix rest of violations related parameter changed 2018-07-27 16:42:19 +08:00