mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-04 22:47:00 +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> |
||
---|---|---|
.. | ||
assert.h | ||
console.h | ||
dump.h | ||
logmsg.h | ||
printf.h | ||
sbuf.h | ||
serial.h | ||
shell.h | ||
trace.h | ||
vuart.h |