Skip to contentSkip to conversation

riscv: kvm: fix non-kernel-doc comment block

PATCH Applied Randy Dunlap 2 participants 2 messages Nov 7, 2021 – Nov 16, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: kvm: fix non-kernel-doc comment block

Don't use "/**" to begin a comment block for a non-kernel-doc comment.

Prevents this docs build warning:

vcpu_sbi.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Copyright (c) 2019 Western Digital Corporation or its affiliates.

Fixes dea8ee31a039 ("RISC-V: KVM: Add SBI v0.1 support")
Cc Atish Patra <[email protected]>
Cc Anup Patel <[email protected]>
Cc kvm at vger.kernel.org
Cc kvm-riscv at lists.infradead.org
Cc linux-riscv at lists.infradead.org
Cc Paul Walmsley <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Albert Ou <[email protected]>
---
 arch/riscv/kvm/vcpu_sbi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kvm/vcpu_sbi.c +1 -1
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
-/**
+/*
  * Copyright (c) 2019 Western Digital Corporation or its affiliates.
  *
  * Authors:
maintainer Applied
#1 lore raw
Quoted 26 lines · Randy Dunlap

Don't use "/**" to begin a comment block for a non-kernel-doc comment.

Prevents this docs build warning:

vcpu_sbi.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Copyright (c) 2019 Western Digital Corporation or its affiliates.

Fixes dea8ee31a039 ("RISC-V: KVM: Add SBI v0.1 support")
Cc Atish Patra <[email protected]>
Cc Anup Patel <[email protected]>
Cc kvm at vger.kernel.org
Cc kvm-riscv at lists.infradead.org
Cc linux-riscv at lists.infradead.org
Cc Paul Walmsley <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Albert Ou <[email protected]>
---
  arch/riscv/kvm/vcpu_sbi.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

arch/riscv/kvm/vcpu_sbi.c line 5

Quoted 6 lines
arch/riscv/kvm/vcpu_sbi.c +1 -1
@@ -1,5 +1,5 @@
  // SPDX-License-Identifier: GPL-2.0
-/**
+/*
   * Copyright (c) 2019 Western Digital Corporation or its affiliates.
   *
   * Authors:

Queued, thanks.

Paolo