]> xenbits.xensource.com Git - xen.git/commitdiff
x86/vpmu: address a violation of MISRA C:2012 Rule 8.2
authorFederico Serafini <federico.serafini@bugseng.com>
Mon, 20 Nov 2023 09:52:10 +0000 (10:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 20 Nov 2023 09:52:10 +0000 (10:52 +0100)
Add missing parameter name. No functional change.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/include/asm/vpmu.h

index b165acc6c273be1059c12bc784e2c85082558057..7858aec6cae68f6895dde5401ad71592d091f77b 100644 (file)
@@ -35,7 +35,7 @@ struct arch_vpmu_ops {
     void (*arch_vpmu_destroy)(struct vcpu *v);
     int (*arch_vpmu_save)(struct vcpu *v, bool_t to_guest);
     int (*arch_vpmu_load)(struct vcpu *v, bool_t from_guest);
-    void (*arch_vpmu_dump)(const struct vcpu *);
+    void (*arch_vpmu_dump)(const struct vcpu *v);
 
 #ifdef CONFIG_MEM_SHARING
     int (*allocate_context)(struct vcpu *v);