mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 09:06:30 +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>
56 KiB
56 KiB