linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 15770/16121] arch/riscv/include/asm/mmio.h:67:undefined reference to `pci_print_aer'
@ 2023-10-30 14:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-30 14:53 UTC (permalink / raw)
  To: Dan Williams; +Cc: oe-kbuild-all, Linux Memory Management List

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@intel.com/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@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/202310302206.Pkr5eBDi-lkp@intel.com/

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@sifive.com>
:::::: CC: Paul Walmsley <paul.walmsley@sifive.com>

-- 
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:[~2023-10-30 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 14:53 [linux-next:master 15770/16121] arch/riscv/include/asm/mmio.h:67:undefined reference to `pci_print_aer' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox