mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-04 21:29:43 +00:00
For some function pointer type, its name is identical with variable name in the same scope. This MISRA C violation is detected. Naming convention rule:If the type is function pointer, its name needs suffix "_fn". The following udpates are made: *apicv_set_intr_ready-->*apicv_set_intr_ready_fn *apicv_pending_intr-->*apicv_pending_intr_fn *apicv_set_tmr-->*apicv_set_tmr_fn *apicv_batch_set_tmr-->*apicv_batch_set_tmr_fn *apicv_intr_accepted-->*apicv_intr_accepted_fn *apicv_post_intr-->*apicv_post_intr_fn *enable_x2apic_mode-->*enable_x2apic_mode_fn V1-->V2: Update function pointer when it is used as calling since no need to dereference a function pointer before calling. Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
guest.c | ||
instr_emul_wrapper.c | ||
instr_emul_wrapper.h | ||
instr_emul.c | ||
instr_emul.h | ||
pm.c | ||
ucode.c | ||
vcpu.c | ||
vioapic.c | ||
vlapic_priv.h | ||
vlapic.c | ||
vm.c | ||
vmcall.c | ||
vmsr.c | ||
vpic.c |