[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] svm: Fix MISRA 8.2 violation



commit e8e8afee990ae74a4d2797ddae1b58a4e03912b5
Author:     George Dunlap <george.dunlap@xxxxxxxxx>
AuthorDate: Thu Apr 25 09:49:42 2024 +0100
Commit:     George Dunlap <george.dunlap@xxxxxxxxx>
CommitDate: Thu May 9 09:02:01 2024 +0100

    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 <andrew.cooper@xxxxxxxxx>
    Reported-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
    Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/arch/x86/include/asm/hvm/nestedhvm.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 */
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.