All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/vmx/vmx.o:arch/x86/include/asm/mshyperv.h:277: first defined here
@ 2026-05-03 10:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-03 10:40 UTC (permalink / raw)
  To: Mukesh R; +Cc: oe-kbuild-all, 0day robot

tree:   https://github.com/intel-lab-lkp/linux/commits/Mukesh-R/iommu-hyperv-rename-hyperv-iommu-c-to-hyperv-irq-c/20260503-090312
head:   f5351a96a6b1fd376b752c66714c4ae3b7598e18
commit: 28dd2164538308ef48df1f61c05c3cd1f6296c5f PCI: hv: Build device id for a VMBus device, export PCI devid function
date:   10 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260503/202605031213.PRvyoCZS-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260503/202605031213.PRvyoCZS-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/202605031213.PRvyoCZS-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from arch/x86/kernel/cpu/mshyperv.c:23:
>> arch/x86/include/asm/mshyperv.h:277:5: warning: no previous prototype for 'hv_build_devid_type_pci' [-Wmissing-prototypes]
     277 | u64 hv_build_devid_type_pci(struct pci_dev *pdev) { return 0; }
         |     ^~~~~~~~~~~~~~~~~~~~~~~
--
   ld: arch/x86/kvm/vmx/pmu_intel.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/vmx/vmx.o:arch/x86/include/asm/mshyperv.h:277: first defined here
   ld: arch/x86/kvm/vmx/nested.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/vmx/vmx.o:arch/x86/include/asm/mshyperv.h:277: first defined here
   ld: arch/x86/kvm/vmx/posted_intr.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/vmx/vmx.o:arch/x86/include/asm/mshyperv.h:277: first defined here
   ld: arch/x86/kvm/vmx/main.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/vmx/vmx.o:arch/x86/include/asm/mshyperv.h:277: first defined here
   ld: arch/x86/kvm/vmx/sgx.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/vmx/vmx.o:arch/x86/include/asm/mshyperv.h:277: first defined here
   ld: arch/x86/kvm/vmx/hyperv.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/vmx/vmx.o:arch/x86/include/asm/mshyperv.h:277: first defined here
--
   ld: arch/x86/kvm/hyperv.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/x86.o:arch/x86/include/asm/mshyperv.h:277: first defined here
--
   ld: arch/x86/kvm/svm/nested.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/svm/svm.o:arch/x86/include/asm/mshyperv.h:277: first defined here
   ld: arch/x86/kvm/svm/hyperv.o: in function `hv_build_devid_type_pci':
>> arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/svm/svm.o:arch/x86/include/asm/mshyperv.h:277: first defined here


vim +277 arch/x86/include/asm/mshyperv.h

   273	
   274	#if IS_ENABLED(CONFIG_HYPERV_IOMMU)
   275	u64 hv_build_devid_type_pci(struct pci_dev *pdev);
   276	#else
 > 277	u64 hv_build_devid_type_pci(struct pci_dev *pdev) { return 0; }
   278	#endif /* IS_ENABLED(CONFIG_HYPERV_IOMMU) */
   279	

--
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-05-03 10:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-03 10:40 arch/x86/include/asm/mshyperv.h:277: multiple definition of `hv_build_devid_type_pci'; arch/x86/kvm/vmx/vmx.o:arch/x86/include/asm/mshyperv.h:277: first defined here 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.