Re: [PATCH] riscv: kvm: fix non-kernel-doc comment block

From: Paolo Bonzini
Date: Tue Nov 16 2021 - 08:11:03 EST


On 11/7/21 04:47, Randy Dunlap wrote:
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")
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Cc: Atish Patra <atish.patra@xxxxxxx>
Cc: Anup Patel <anup.patel@xxxxxxx>
Cc: kvm@xxxxxxxxxxxxxxx
Cc: kvm-riscv@xxxxxxxxxxxxxxxxxxx
Cc: linux-riscv@xxxxxxxxxxxxxxxxxxx
Cc: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
Cc: Palmer Dabbelt <palmer@xxxxxxxxxxx>
Cc: Albert Ou <aou@xxxxxxxxxxxxxxxxx>
---
arch/riscv/kvm/vcpu_sbi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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


Queued, thanks.

Paolo