* arch/riscv/kvm/vcpu_fp.c:29:6: error: no previous prototype for 'kvm_riscv_vcpu_fp_clean'
@ 2021-11-11 9:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-11 9:05 UTC (permalink / raw)
To: Anup Patel; +Cc: kbuild-all, linux-kernel, Paolo Bonzini
[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: debe436e77c72fcee804fb867f275e6d31aa999c
commit: 0a86512dc113e4de6550d49f276142009231c846 RISC-V: KVM: Factor-out FP virtualization into separate sources
date: 11 days ago
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0a86512dc113e4de6550d49f276142009231c846
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 0a86512dc113e4de6550d49f276142009231c846
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/riscv/kvm/vcpu_fp.c:29:6: error: no previous prototype for 'kvm_riscv_vcpu_fp_clean' [-Werror=missing-prototypes]
29 | void kvm_riscv_vcpu_fp_clean(struct kvm_cpu_context *cntx)
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/kvm_riscv_vcpu_fp_clean +29 arch/riscv/kvm/vcpu_fp.c
28
> 29 void kvm_riscv_vcpu_fp_clean(struct kvm_cpu_context *cntx)
30 {
31 cntx->sstatus &= ~SR_FS;
32 cntx->sstatus |= SR_FS_CLEAN;
33 }
34
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 71155 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-11 9:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-11 9:05 arch/riscv/kvm/vcpu_fp.c:29:6: error: no previous prototype for 'kvm_riscv_vcpu_fp_clean' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox