[linux-next:master 15770/16121] arch/riscv/include/asm/mmio.h:67:undefined reference to `pci_print_aer'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   c503e3eec382ac708ee7adf874add37b77c5d312
commit: 9f39bd073634bb8747e87332aa510172c5f3701c [15770/16121] Merge branch 'for-6.7/cxl-qtg' into cxl/next
config: riscv-randconfig-r002-20220124 (https://download.01.org/0day-ci/archive/20231030/202310302206.Pkr5eBDi-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231030/202310302206.Pkr5eBDi-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310302206.Pkr5eBDi-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   riscv64-linux-ld: drivers/cxl/core/pci.o: in function `.L0 ':
>> arch/riscv/include/asm/mmio.h:67:(.text+0xd66): undefined reference to `pci_print_aer'
   riscv64-linux-ld: drivers/cxl/core/pci.o: in function `.L0 ':
   drivers/cxl/core/pci.c:711:(.text+0xd9a): undefined reference to `pci_print_aer'
   riscv64-linux-ld: drivers/cxl/core/pci.o: in function `.LVL326':
   drivers/cxl/core/pci.c:753:(.text+0xde4): undefined reference to `pci_print_aer'


vim +67 arch/riscv/include/asm/mmio.h

0c3ac28931d578 Paul Walmsley 2019-10-28  61  
0c3ac28931d578 Paul Walmsley 2019-10-28  62  #define __raw_readl __raw_readl
0c3ac28931d578 Paul Walmsley 2019-10-28  63  static inline u32 __raw_readl(const volatile void __iomem *addr)
0c3ac28931d578 Paul Walmsley 2019-10-28  64  {
0c3ac28931d578 Paul Walmsley 2019-10-28  65  	u32 val;
0c3ac28931d578 Paul Walmsley 2019-10-28  66  
0c3ac28931d578 Paul Walmsley 2019-10-28 @67  	asm volatile("lw %0, 0(%1)" : "=r" (val) : "r" (addr));
0c3ac28931d578 Paul Walmsley 2019-10-28  68  	return val;
0c3ac28931d578 Paul Walmsley 2019-10-28  69  }
0c3ac28931d578 Paul Walmsley 2019-10-28  70  

:::::: The code at line 67 was first introduced by commit
:::::: 0c3ac28931d578324e93afab6ee7b740dfdaff6f riscv: separate MMIO functions into their own header file

:::::: TO: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
:::::: CC: Paul Walmsley <paul.walmsley@xxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux