Skip to contentSkip to conversation

arch/riscv/kvm/vcpu_sbi.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

PATCH New kernel test robot 2 participants 2 messages Mar 12, 2022 – Mar 20, 2022

Subsystems (3)
lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hi Atish,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   68453767131a5deec1e8f9ac92a9042f929e585d
commit: dea8ee31a039277576c215fffa13957970246366 RISC-V: KVM: Add SBI v0.1 support
date:   5 months ago
config: riscv-randconfig-c006-20220312 (https://download.01.org/0day-ci/archive/20220313/[email protected]/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 43f668b98e8d87290fc6bbf5ed13c3ab542e3497)

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dea8ee31a039277576c215fffa13957970246366
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout dea8ee31a039277576c215fffa13957970246366
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate

All warnings (new ones prefixed by >>):

>> arch/riscv/kvm/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.

vim +3 arch/riscv/kvm/vcpu_sbi.c

   > 3	 * Copyright (c) 2019 Western Digital Corporation or its affiliates.
     4	 *
     5	 * Authors:
     6	 *     Atish Patra <[email protected]>
     7	 */
     8	

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/[email protected]

#1 lore raw

PATCH 1/1 riscv: kvm: copyright comment fix for vcpu_sbi.c

kernel test robot reports warning copyright comment warning for arch/riscv/kvm/vcpu_sbi.c. Since the comment isn't for kernel-doc consumption, fix the warning.

Fixes dea8ee31a03927 ("RISC-V: KVM: Add SBI v0.1 support")
Cc Paul Walmsley <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Albert Ou <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc Anup Patel <[email protected]>
Cc Atish Patra <[email protected]>
---
 arch/riscv/kvm/vcpu_sbi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kvm/vcpu_sbi.c +1 -1
index ebdcdbade9c652..2888cde02fddd0 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
-/**
+/*
  * Copyright (c) 2019 Western Digital Corporation or its affiliates.
  *
  * Authors:

base-commit: dea8ee31a039277576c215fffa13957970246366

Signature · 1 line
An old man doll... just what I always wanted! - Clara