From: kernel test robot <lkp@intel.com>
To: Sean Christopherson <seanjc@google.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'?
Date: Sat, 12 Sep 2026 12:48:53 +0800 [thread overview]
Message-ID: <202609121231.dmUoOaA1-lkp@intel.com> (raw)
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
reply other threads:[~2026-09-12 4:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609121231.dmUoOaA1-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=seanjc@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.