Skip to content

Commit 8ce7839

Browse files
rddunlapoupton
authored andcommitted
KVM: arm64: sys_regs: fix kernel-doc warnings
Drop the @run function parameter descriptions and add the actual ones for 2 functions to prevent kernel-doc warnings: arch/arm64/kvm/sys_regs.c:3167: warning: Excess function parameter 'run' description in 'kvm_handle_cp_64' arch/arm64/kvm/sys_regs.c:3335: warning: Excess function parameter 'run' description in 'kvm_handle_cp_32' 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 2a00f08 commit 8ce7839

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

arch/arm64/kvm/sys_regs.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3159,7 +3159,8 @@ static void unhandled_cp_access(struct kvm_vcpu *vcpu,
31593159
/**
31603160
* kvm_handle_cp_64 -- handles a mrrc/mcrr trap on a guest CP14/CP15 access
31613161
* @vcpu: The VCPU pointer
3162-
* @run: The kvm_run struct
3162+
* @global: &struct sys_reg_desc
3163+
* @nr_global: size of the @global array
31633164
*/
31643165
static int kvm_handle_cp_64(struct kvm_vcpu *vcpu,
31653166
const struct sys_reg_desc *global,
@@ -3326,7 +3327,9 @@ static int kvm_emulate_cp15_id_reg(struct kvm_vcpu *vcpu,
33263327
/**
33273328
* kvm_handle_cp_32 -- handles a mrc/mcr trap on a guest CP14/CP15 access
33283329
* @vcpu: The VCPU pointer
3329-
* @run: The kvm_run struct
3330+
* @params: &struct sys_reg_params
3331+
* @global: &struct sys_reg_desc
3332+
* @nr_global: size of the @global array
33303333
*/
33313334
static int kvm_handle_cp_32(struct kvm_vcpu *vcpu,
33323335
struct sys_reg_params *params,

0 commit comments

Comments
 (0)