arch/s390/kvm/arm64/arm.c:745:5: error: conflicting types for 'kvm_set_routing_entry'
kernel test robot
build bottree: git://git.infradead.org/users/dwmw2/linux vsm2/vsm-min head: f2e6a1c3a8f001e70638379824e843dcadddaaec commit: 4600eacdd7db45b3108f90f7f58243bb6aae325a [37/133] kvm: Pass plane_level to kvm_set_routing_entry() config: s390-randconfig-1000-20261110 (https://download.01.org/0day-ci/archive/20261110/[email protected]/config) compiler: s390-linux-gcc (GCC) 9.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261110/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> arch/s390/kvm/arm64/arm.c:745:5: error: conflicting types for 'kvm_set_routing_entry'
745 | int kvm_set_routing_entry(struct kvm *kvm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from arch/s390/kvm/arm64/arm.c:8:
include/linux/kvm_host.h:2393:5: note: previous declaration of 'kvm_set_routing_entry' was here
2393 | int kvm_set_routing_entry(struct kvm *kvm,
| ^~~~~~~~~~~~~~~~~~~~~
vim +/kvm_set_routing_entry +745 arch/s390/kvm/arm64/arm.c
761404d7acfe8c5 Steffen Eiden 2026-04-02 744
761404d7acfe8c5 Steffen Eiden 2026-04-02 @745 int kvm_set_routing_entry(struct kvm *kvm,
761404d7acfe8c5 Steffen Eiden 2026-04-02 746 struct kvm_kernel_irq_routing_entry *e,
761404d7acfe8c5 Steffen Eiden 2026-04-02 747 const struct kvm_irq_routing_entry *ue)
761404d7acfe8c5 Steffen Eiden 2026-04-02 748 {
761404d7acfe8c5 Steffen Eiden 2026-04-02 749 return -EINVAL;
761404d7acfe8c5 Steffen Eiden 2026-04-02 750 }761404d7acfe8c5 Steffen Eiden 2026-04-02 751
:::::: The code at line 745 was first introduced by commit
:::::: 761404d7acfe8c58f9bd938332c6cc9beed6bafd KVM: s390: Add basic arm64 kvm module
:::::: TO: Steffen Eiden <[email protected]> :::::: CC: Christian Borntraeger <[email protected]>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki