All of lore.kernel.org
 help / color / mirror / Atom feed
* ld.lld: error: duplicate symbol: hv_build_devid_type_pci
@ 2026-05-03  9:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-03  9:08 UTC (permalink / raw)
  To: Mukesh R; +Cc: llvm, 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:   8 hours ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260503/202605031145.isCXrMkx-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260503/202605031145.isCXrMkx-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/202605031145.isCXrMkx-lkp@intel.com/

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

   In file included from arch/x86/kvm/x86.c:80:
>> arch/x86/include/asm/mshyperv.h:277:5: warning: no previous prototype for function 'hv_build_devid_type_pci' [-Wmissing-prototypes]
     277 | u64 hv_build_devid_type_pci(struct pci_dev *pdev) { return 0; }
         |     ^
   arch/x86/include/asm/mshyperv.h:277:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     277 | u64 hv_build_devid_type_pci(struct pci_dev *pdev) { return 0; }
         | ^
         | static 
   1 warning generated.
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/hyperv.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/main.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/posted_intr.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/nested.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/vmx/pmu_intel.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/x86.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            arch/x86/kvm/hyperv.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            ./vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            ./vmx/hyperv.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            ./vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            ./vmx/main.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            ./vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            ./vmx/posted_intr.o:(.text+0x10)
--
>> ld.lld: error: duplicate symbol: hv_build_devid_type_pci
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            ./vmx/vmx.o:(hv_build_devid_type_pci)
   >>> defined at mshyperv.h:277 (arch/x86/include/asm/mshyperv.h:277)
   >>>            ./vmx/nested.o:(.text+0x10)
..

--
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  9:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-03  9:08 ld.lld: error: duplicate symbol: hv_build_devid_type_pci 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.