mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-30 19:05:33 +00:00
For data structure types "enum vpic_wire_mode, struct stack_canary", its name is identical with variable name in the same scope. This MISRA C violation is detected by static analysis tool. For variables "segment_override, pde_index", its name is identical with function name. This MISRA C violation is detected. Naming convention rule:Variable name can be shortened from its data structure type name. The following udpates are made: enum vpic_wire_mode vpic_wire_mode-->enum vpic_wire_mode wire_mode struct stack_canary stack_canary-->struct stack_canary stk_canary uint8_t segment_override:1 --> uint8_t seg_override:1 uint32_t pde_index--> uint32_t pde_idx V1-->V2: Remove update "enum cpu_state cpu_state-->enum cpu_state state" and "enum irqstate irqstate-->enum irq_ops_mode ops_mode", other patch will cover it. V2-->V3: Update "uint32_t pde_index--> uint32_t pde_idx". Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com> |
||
---|---|---|
.. | ||
guest_pm.h | ||
guest.h | ||
ucode.h | ||
vcpu.h | ||
vioapic.h | ||
vlapic.h | ||
vm.h | ||
vpic.h |