mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-05 21:52:08 +00:00
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> |
||
---|---|---|
.. | ||
console.c | ||
dump.c | ||
logmsg.c | ||
printf.c | ||
sbuf.c | ||
serial_internal.h | ||
serial.c | ||
shell_internal.c | ||
shell_internal.h | ||
shell_public.c | ||
uart16550.c | ||
uart16550.h | ||
vuart.c |