Skip to content

Commit bc13610

Browse files
rddunlapoupton
authored andcommitted
KVM: arm64: hyp/aarch32: fix kernel-doc warnings
Use the correct function name in the kernel-doc comments to prevent kernel-doc warnings: arch/arm64/kvm/hyp/vhe/../aarch32.c:97: warning: expecting prototype for adjust_itstate(). Prototype was for kvm_adjust_itstate() instead arch/arm64/kvm/hyp/vhe/../aarch32.c:127: warning: expecting prototype for kvm_skip_instr(). Prototype was for kvm_skip_instr32() instead Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Marc Zyngier <maz@kernel.org> Cc: Oliver Upton <oliver.upton@linux.dev> Cc: James Morse <james.morse@arm.com> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Cc: Zenghui Yu <yuzenghui@huawei.com> Cc: linux-arm-kernel@lists.infradead.org Cc: kvmarm@lists.linux.dev Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Link: https://lore.kernel.org/r/20240117230714.31025-4-rdunlap@infradead.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
1 parent 39db66e commit bc13610

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm64/kvm/hyp/aarch32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ bool kvm_condition_valid32(const struct kvm_vcpu *vcpu)
8484
}
8585

8686
/**
87-
* adjust_itstate - adjust ITSTATE when emulating instructions in IT-block
87+
* kvm_adjust_itstate - adjust ITSTATE when emulating instructions in IT-block
8888
* @vcpu: The VCPU pointer
8989
*
9090
* When exceptions occur while instructions are executed in Thumb IF-THEN
@@ -120,7 +120,7 @@ static void kvm_adjust_itstate(struct kvm_vcpu *vcpu)
120120
}
121121

122122
/**
123-
* kvm_skip_instr - skip a trapped instruction and proceed to the next
123+
* kvm_skip_instr32 - skip a trapped instruction and proceed to the next
124124
* @vcpu: The vcpu pointer
125125
*/
126126
void kvm_skip_instr32(struct kvm_vcpu *vcpu)

0 commit comments

Comments
 (0)