[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/cpuidle: address violations of MISRA C:2012 Rule 8.2
commit 5310230b61fd6586376285dc41d9a5771015ac78 Author: Federico Serafini <federico.serafini@xxxxxxxxxxx> AuthorDate: Thu Nov 16 09:11:30 2023 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Nov 16 09:11:30 2023 +0100 x86/cpuidle: address violations of MISRA C:2012 Rule 8.2 Add missing parameter names. No functional change. Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/x86/include/asm/cpuidle.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/include/asm/cpuidle.h b/xen/arch/x86/include/asm/cpuidle.h index 3edd7a75d2..707b3e948d 100644 --- a/xen/arch/x86/include/asm/cpuidle.h +++ b/xen/arch/x86/include/asm/cpuidle.h @@ -15,16 +15,17 @@ extern void (*lapic_timer_on)(void); extern uint64_t (*cpuidle_get_tick)(void); -int mwait_idle_init(struct notifier_block *); +int mwait_idle_init(struct notifier_block *nfb); int cpuidle_init_cpu(unsigned int cpu); void cf_check default_dead_idle(void); void cf_check acpi_dead_idle(void); void play_dead(void); void trace_exit_reason(u32 *irq_traced); -void update_idle_stats(struct acpi_processor_power *, - struct acpi_processor_cx *, uint64_t, uint64_t); -void update_last_cx_stat(struct acpi_processor_power *, - struct acpi_processor_cx *, uint64_t); +void update_idle_stats(struct acpi_processor_power *power, + struct acpi_processor_cx *cx, + uint64_t before, uint64_t after); +void update_last_cx_stat(struct acpi_processor_power *power, + struct acpi_processor_cx *cx, uint64_t ticks); bool errata_c6_workaround(void); -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |