]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
svm: Fix MISRA 8.2 violation
authorGeorge Dunlap <george.dunlap@cloud.com>
Thu, 25 Apr 2024 08:49:42 +0000 (09:49 +0100)
committerGeorge Dunlap <george.dunlap@cloud.com>
Thu, 9 May 2024 08:02:01 +0000 (09:02 +0100)
Misra 8.2 requires named parameters in prototypes.  Use the name from
the implementaiton.

Fixes: 0d19d3aab0 ("svm/nestedsvm: Introduce nested capabilities bit")
Reported-by: Andrew Cooper <andrew.cooper@cloud.com>
Reported-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Signed-off-by: George Dunlap <george.dunlap@cloud.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/include/asm/hvm/nestedhvm.h

index 0568acb25f23881d2ec4a8e93cd9490c712b41ef..ea2c1bc328c7aa05038dd19cf751b89b75243877 100644 (file)
@@ -83,7 +83,7 @@ static inline bool vvmcx_valid(const struct vcpu *v)
 }
 
 
-void start_nested_svm(struct hvm_function_table *);
-void start_nested_vmx(struct hvm_function_table *);
+void start_nested_svm(struct hvm_function_table *hvm_function_table);
+void start_nested_vmx(struct hvm_function_table *hvm_function_table);
 
 #endif /* _HVM_NESTEDHVM_H */