linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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
@ 2022-03-12 19:03 kernel test robot
  2022-03-20  8:18 ` [PATCH] riscv: kvm: copyright comment fix for vcpu_sbi.c Bagas Sanjaya
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-03-12 19:03 UTC (permalink / raw)
  To: Atish Patra
  Cc: llvm, kbuild-all, linux-kernel, Anup Patel, Paolo Bonzini,
	linux-doc

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/202203130225.OBpOOQrW-lkp@intel.com/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
Reported-by: kernel test robot <lkp@intel.com>

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 <atish.patra@wdc.com>
     7	 */
     8	

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] riscv: kvm: copyright comment fix for vcpu_sbi.c
  2022-03-12 19:03 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 kernel test robot
@ 2022-03-20  8:18 ` Bagas Sanjaya
  0 siblings, 0 replies; 2+ messages in thread
From: Bagas Sanjaya @ 2022-03-20  8:18 UTC (permalink / raw)
  To: lkp
  Cc: Bagas Sanjaya, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Paolo Bonzini, Anup Patel, Atish Patra, linux-riscv, linux-doc,
	linux-kernel

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")
Link: https://lore.kernel.org/linux-doc/202203130225.OBpOOQrW-lkp@intel.com/
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anup Patel <anup.patel@wdc.com>
Cc: Atish Patra <atish.patra@wdc.com>
Cc: linux-riscv@lists.infradead.org
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 arch/riscv/kvm/vcpu_sbi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/kvm/vcpu_sbi.c b/arch/riscv/kvm/vcpu_sbi.c
index ebdcdbade9c652..2888cde02fddd0 100644
--- a/arch/riscv/kvm/vcpu_sbi.c
+++ b/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:

base-commit: dea8ee31a039277576c215fffa13957970246366
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-20  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-12 19:03 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 kernel test robot
2022-03-20  8:18 ` [PATCH] riscv: kvm: copyright comment fix for vcpu_sbi.c Bagas Sanjaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).