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@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>
This commit is contained in:
George Dunlap committed 2024-05-09 09:02:01 +01:00
1 parent a2330b51df
commit e8e8afee99
1 file changed
+2 -2
+2 -2
View 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 */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.