All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-misc:swiotlb-init-cleanup 8/11] arch/x86/kernel/pci-dma.c:196:5: error: redefinition of 'pci_xen_swiotlb_init_late'
@ 2022-02-16  8:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-16  8:04 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2090 bytes --]

tree:   git://git.infradead.org/users/hch/misc.git swiotlb-init-cleanup
head:   03f11490b8d1f5bc33f9584ac5f16aca9d73fd6e
commit: 19fcc8038a809dc34fe5bc053aea3a6a5a143a93 [8/11] x86: remove the IOMMU table infrastructure
config: x86_64-randconfig-a005-20211003 (https://download.01.org/0day-ci/archive/20220216/202202161556.rnTSKQZz-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add hch-misc git://git.infradead.org/users/hch/misc.git
        git fetch --no-tags hch-misc swiotlb-init-cleanup
        git checkout 19fcc8038a809dc34fe5bc053aea3a6a5a143a93
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/x86/kernel/pci-dma.c: In function 'pci_iommu_alloc':
   arch/x86/kernel/pci-dma.c:86:2: error: implicit declaration of function 'detect_intel_iommu' [-Werror=implicit-function-declaration]
      86 |  detect_intel_iommu();
         |  ^~~~~~~~~~~~~~~~~~
   arch/x86/kernel/pci-dma.c: At top level:
>> arch/x86/kernel/pci-dma.c:196:5: error: redefinition of 'pci_xen_swiotlb_init_late'
     196 | int pci_xen_swiotlb_init_late(void)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/xen/swiotlb-xen.h:6,
                    from arch/x86/kernel/pci-dma.c:19:
   arch/x86/include/asm/xen/swiotlb-xen.h:8:19: note: previous definition of 'pci_xen_swiotlb_init_late' was here
       8 | static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; }
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/pci_xen_swiotlb_init_late +196 arch/x86/kernel/pci-dma.c

   194	
   195	#ifdef CONFIG_XEN
 > 196	int pci_xen_swiotlb_init_late(void)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-16  8:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16  8:04 [hch-misc:swiotlb-init-cleanup 8/11] arch/x86/kernel/pci-dma.c:196:5: error: redefinition of 'pci_xen_swiotlb_init_late' 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.