* [kvm:next 27/32] arch/riscv/kvm/vcpu_sbi.c:97:26: error: 'struct <anonymous>' has no member named 'flags'
@ 2022-04-16 14:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-16 14:29 UTC (permalink / raw)
To: Peter Gonda
Cc: kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei,
Paolo Bonzini
tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git next
head: 5d6c7de6446e9ab3fb41d6f7d82770e50998f3de
commit: c24a950ec7d60c4da91dc3f273295c7f438b531e [27/32] KVM, SEV: Add KVM_EXIT_SHUTDOWN metadata for SEV-ES
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20220416/202204162240.GL0cSY68-lkp@intel.com/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/virt/kvm/kvm.git/commit/?id=c24a950ec7d60c4da91dc3f273295c7f438b531e
git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
git fetch --no-tags kvm next
git checkout c24a950ec7d60c4da91dc3f273295c7f438b531e
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross 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 errors (new ones prefixed by >>):
arch/riscv/kvm/vcpu_sbi.c: In function 'kvm_riscv_vcpu_sbi_system_reset':
>> arch/riscv/kvm/vcpu_sbi.c:97:26: error: 'struct <anonymous>' has no member named 'flags'
97 | run->system_event.flags = flags;
| ^
vim +97 arch/riscv/kvm/vcpu_sbi.c
dea8ee31a039277 Atish Patra 2021-09-27 83
4b11d86571c4473 Anup Patel 2022-01-31 84 void kvm_riscv_vcpu_sbi_system_reset(struct kvm_vcpu *vcpu,
4b11d86571c4473 Anup Patel 2022-01-31 85 struct kvm_run *run,
4b11d86571c4473 Anup Patel 2022-01-31 86 u32 type, u64 flags)
4b11d86571c4473 Anup Patel 2022-01-31 87 {
4b11d86571c4473 Anup Patel 2022-01-31 88 unsigned long i;
4b11d86571c4473 Anup Patel 2022-01-31 89 struct kvm_vcpu *tmp;
4b11d86571c4473 Anup Patel 2022-01-31 90
4b11d86571c4473 Anup Patel 2022-01-31 91 kvm_for_each_vcpu(i, tmp, vcpu->kvm)
4b11d86571c4473 Anup Patel 2022-01-31 92 tmp->arch.power_off = true;
4b11d86571c4473 Anup Patel 2022-01-31 93 kvm_make_all_cpus_request(vcpu->kvm, KVM_REQ_SLEEP);
4b11d86571c4473 Anup Patel 2022-01-31 94
4b11d86571c4473 Anup Patel 2022-01-31 95 memset(&run->system_event, 0, sizeof(run->system_event));
4b11d86571c4473 Anup Patel 2022-01-31 96 run->system_event.type = type;
4b11d86571c4473 Anup Patel 2022-01-31 @97 run->system_event.flags = flags;
4b11d86571c4473 Anup Patel 2022-01-31 98 run->exit_reason = KVM_EXIT_SYSTEM_EVENT;
4b11d86571c4473 Anup Patel 2022-01-31 99 }
4b11d86571c4473 Anup Patel 2022-01-31 100
:::::: The code at line 97 was first introduced by commit
:::::: 4b11d86571c44738f5ef12fcfac2ee36f998cf23 RISC-V: KVM: Add common kvm_riscv_vcpu_sbi_system_reset() function
:::::: TO: Anup Patel <apatel@ventanamicro.com>
:::::: CC: Anup Patel <anup@brainfault.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-16 14:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-16 14:29 [kvm:next 27/32] arch/riscv/kvm/vcpu_sbi.c:97:26: error: 'struct <anonymous>' has no member named 'flags' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.