hv: treewide: fix 'Procedure parameter has a type but no identifier'

Add the parameter identifier for typedef function pointer.

Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Shiqing Gao
2018-08-02 09:29:35 +08:00
committed by lijinxia
parent c27e25052b
commit fd0c9187ef
5 changed files with 11 additions and 10 deletions

View File

@@ -107,7 +107,7 @@ int vmx_vmrun(struct run_context *context, int ops, int ibrs);
int load_guest(struct vm *vm, struct vcpu *vcpu);
int general_sw_loader(struct vm *vm, struct vcpu *vcpu);
typedef int (*vm_sw_loader_t)(struct vm *, struct vcpu *);
typedef int (*vm_sw_loader_t)(struct vm *vm, struct vcpu *vcpu);
extern vm_sw_loader_t vm_sw_loader;
int copy_from_gpa(struct vm *vm, void *h_ptr, uint64_t gpa, uint32_t size);