Skip to content

Commit 39db66e

Browse files
rddunlapoupton
authored andcommitted
KVM: arm64: guest: fix kernel-doc warnings
Fix multiple function parameter descriptions to prevent warnings: guest.c:718: warning: Function parameter or struct member 'vcpu' not described in 'kvm_arm_num_regs' guest.c:736: warning: Function parameter or struct member 'vcpu' not described in 'kvm_arm_copy_reg_indices' guest.c:736: warning: Function parameter or struct member 'uindices' not described in 'kvm_arm_copy_reg_indices' arch/arm64/kvm/guest.c:915: warning: Excess function parameter 'kvm' description in 'kvm_arch_vcpu_ioctl_set_guest_debug' arch/arm64/kvm/guest.c:915: warning: Excess function parameter 'kvm_guest_debug' description in 'kvm_arch_vcpu_ioctl_set_guest_debug' Signed-off-by: Randy Dunlap <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Oliver Upton <[email protected]> Cc: James Morse <[email protected]> Cc: Suzuki K Poulose <[email protected]> Cc: Zenghui Yu <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Reviewed-by: Suzuki K Poulose <[email protected]> Reviewed-by: Zenghui Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
1 parent c4d15f8 commit 39db66e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

arch/arm64/kvm/guest.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ static int copy_sve_reg_indices(const struct kvm_vcpu *vcpu,
711711

712712
/**
713713
* kvm_arm_num_regs - how many registers do we present via KVM_GET_ONE_REG
714+
* @vcpu: the vCPU pointer
714715
*
715716
* This is for all registers.
716717
*/
@@ -729,6 +730,8 @@ unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu)
729730

730731
/**
731732
* kvm_arm_copy_reg_indices - get indices of all registers.
733+
* @vcpu: the vCPU pointer
734+
* @uindices: register list to copy
732735
*
733736
* We do core registers right here, then we append system regs.
734737
*/
@@ -902,8 +905,8 @@ int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu,
902905

903906
/**
904907
* kvm_arch_vcpu_ioctl_set_guest_debug - set up guest debugging
905-
* @kvm: pointer to the KVM struct
906-
* @kvm_guest_debug: the ioctl data buffer
908+
* @vcpu: the vCPU pointer
909+
* @dbg: the ioctl data buffer
907910
*
908911
* This sets up and enables the VM for guest debugging. Userspace
909912
* passes in a control flag to enable different debug types and

0 commit comments

Comments
 (0)