* [sean-jc:x86/uaccess_bad_mm 2/9] arch/powerpc/kvm/powerpc.c:775:34: error: use of undeclared identifier 'slot'; did you mean 'slots'?
@ 2026-09-12 4:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-12 4:48 UTC (permalink / raw)
To: Sean Christopherson; +Cc: oe-kbuild-all
tree: https://github.com/sean-jc/linux x86/uaccess_bad_mm
head: 4bb0673580aaec2cd71aef201741a528bfa407d0
commit: 86720f4ae2e361cdc3235fbe2c4c729458ed9ec4 [2/9] KVM: PPC: Flush/zap all memslots on kvm_arch_flush_shadow_all()
config: powerpc64-randconfig-r113-20260911 (https://download.01.org/0day-ci/archive/20260912/202609121231.dmUoOaA1-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 96295a1412f9afbee9d4a3c2701e83f5a529a9cc)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260912/202609121231.dmUoOaA1-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609121231.dmUoOaA1-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/powerpc/kvm/powerpc.c:775:34: error: use of undeclared identifier 'slot'; did you mean 'slots'?
775 | kvmppc_core_flush_memslot(kvm, slot);
| ^~~~
| slots
arch/powerpc/kvm/powerpc.c:770:23: note: 'slots' declared here
770 | struct kvm_memslots *slots;
| ^
>> arch/powerpc/kvm/powerpc.c:775:34: error: incompatible pointer types passing 'struct kvm_memslots *' to parameter of type 'struct kvm_memory_slot *' [-Wincompatible-pointer-types]
775 | kvmppc_core_flush_memslot(kvm, slot);
| ^~~~
arch/powerpc/include/asm/kvm_ppc.h:217:35: note: passing argument to parameter 'memslot' here
217 | struct kvm_memory_slot *memslot);
| ^
2 errors generated.
vim +775 arch/powerpc/kvm/powerpc.c
766
767 void kvm_arch_flush_shadow_all(struct kvm *kvm)
768 {
769 struct kvm_memory_slot *memslot;
770 struct kvm_memslots *slots;
771 int bkt;
772
773 slots = kvm_memslots(kvm);
774 kvm_for_each_memslot(memslot, bkt, slots)
> 775 kvmppc_core_flush_memslot(kvm, slot);
776 }
777
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 4:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12 4:48 [sean-jc:x86/uaccess_bad_mm 2/9] arch/powerpc/kvm/powerpc.c:775:34: error: use of undeclared identifier 'slot'; did you mean 'slots'? 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.