Skip to content

Commit 67d953d

Browse files
Marc Zyngieroupton
authored andcommitted
KVM: arm64: Fix non-kerneldoc comments
The robots amongts us have started spitting out irritating emails about random errors such as: <quote> arch/arm64/kvm/arm.c:2207: warning: expecting prototype for Initialize Hyp(). Prototype was for kvm_arm_init() instead </quote> which makes little sense until you finally grok what they are on about: comments that look like a kerneldoc, but that aren't. Let's address this before I get even more irritated... ;-) Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/63e139e1.J5AHO6vmxaALh7xv%25lkp@intel.com Link: https://lore.kernel.org/r/20230207094321.1238600-1-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
1 parent d236505 commit 67d953d

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

arch/arm64/kvm/arm.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,9 +1909,7 @@ static int kvm_hyp_init_protection(u32 hyp_va_bits)
19091909
return 0;
19101910
}
19111911

1912-
/**
1913-
* Inits Hyp-mode on all online CPUs
1914-
*/
1912+
/* Inits Hyp-mode on all online CPUs */
19151913
static int init_hyp_mode(void)
19161914
{
19171915
u32 hyp_va_bits;
@@ -2187,9 +2185,7 @@ void kvm_arch_irq_bypass_start(struct irq_bypass_consumer *cons)
21872185
kvm_arm_resume_guest(irqfd->kvm);
21882186
}
21892187

2190-
/**
2191-
* Initialize Hyp-mode and memory mappings on all CPUs.
2192-
*/
2188+
/* Initialize Hyp-mode and memory mappings on all CPUs */
21932189
int kvm_arch_init(void *opaque)
21942190
{
21952191
int err;

0 commit comments

Comments
 (0)