From: kernel test robot <lkp@intel.com>
To: lamtung-monash <lam.nguyentung@monash.edu>
Cc: oe-kbuild-all@lists.linux.dev, ceph-devel@vger.kernel.org
Subject: [ceph-client:pr/29 1/1] arch/powerpc/kvm/../../../virt/kvm/eventfd.c:621:26: error: 'KVM_MAX_IRQ_ROUTES' undeclared; did you mean 'KVM_CAP_IRQ_ROUTING'?
Date: Sun, 21 Dec 2025 04:43:21 +0800 [thread overview]
Message-ID: <202512210455.ARaCp1h0-lkp@intel.com> (raw)
tree: https://github.com/ceph/ceph-client.git pr/29
head: a0479e90ee5778543f7bcaafd85387c2eea73126
commit: a0479e90ee5778543f7bcaafd85387c2eea73126 [1/1] Don't accept obviously wrong gsi values via KVM_IRQFD
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20251221/202512210455.ARaCp1h0-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210455.ARaCp1h0-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/202512210455.ARaCp1h0-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/powerpc/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_irqfd':
>> arch/powerpc/kvm/../../../virt/kvm/eventfd.c:621:26: error: 'KVM_MAX_IRQ_ROUTES' undeclared (first use in this function); did you mean 'KVM_CAP_IRQ_ROUTING'?
621 | if (args->gsi >= KVM_MAX_IRQ_ROUTES)
| ^~~~~~~~~~~~~~~~~~
| KVM_CAP_IRQ_ROUTING
arch/powerpc/kvm/../../../virt/kvm/eventfd.c:621:26: note: each undeclared identifier is reported only once for each function it appears in
vim +621 arch/powerpc/kvm/../../../virt/kvm/eventfd.c
614
615 int
616 kvm_irqfd(struct kvm *kvm, struct kvm_irqfd *args)
617 {
618 if (args->flags & ~(KVM_IRQFD_FLAG_DEASSIGN | KVM_IRQFD_FLAG_RESAMPLE))
619 return -EINVAL;
620
> 621 if (args->gsi >= KVM_MAX_IRQ_ROUTES)
622 return -EINVAL;
623
624 if (args->flags & KVM_IRQFD_FLAG_DEASSIGN)
625 return kvm_irqfd_deassign(kvm, args);
626
627 return kvm_irqfd_assign(kvm, args);
628 }
629
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-12-20 20:43 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=202512210455.ARaCp1h0-lkp@intel.com \
--to=lkp@intel.com \
--cc=ceph-devel@vger.kernel.org \
--cc=lam.nguyentung@monash.edu \
--cc=oe-kbuild-all@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox