From: George Dunlap Date: Thu, 25 Apr 2024 08:49:42 +0000 (+0100) Subject: svm: Fix MISRA 8.2 violation X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e8e8afee990ae74a4d2797ddae1b58a4e03912b5;p=people%2Froyger%2Fxen.git svm: Fix MISRA 8.2 violation 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 Reported-by: Nicola Vetrini Signed-off-by: George Dunlap Acked-by: Jan Beulich Acked-by: Andrew Cooper --- diff --git a/xen/arch/x86/include/asm/hvm/nestedhvm.h b/xen/arch/x86/include/asm/hvm/nestedhvm.h index 0568acb25f..ea2c1bc328 100644 --- a/xen/arch/x86/include/asm/hvm/nestedhvm.h +++ b/xen/arch/x86/include/asm/hvm/nestedhvm.h @@ -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 */