[linux-next:master 6272/9613] unittest.c:undefined reference to `of_dma_get_max_cpu_address'

[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:   c6b11acc5f85b6e11d128fad8e0b7b223aa7e33f
commit: 07d13a1d6120d453c3c1f020578693d072deded5 [6272/9613] of: unittest: Add test for of_dma_get_max_cpu_address()
config: s390-randconfig-r034-20201201 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ac40a2d8f16b8a8c68fc811d67f647740e965cb8)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=07d13a1d6120d453c3c1f020578693d072deded5
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 07d13a1d6120d453c3c1f020578693d072deded5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 

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

All errors (new ones prefixed by >>):

   s390x-linux-gnu-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
   coherent.c:(.text+0xf8): undefined reference to `memunmap'
   s390x-linux-gnu-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
   coherent.c:(.text+0x174): undefined reference to `memremap'
   s390x-linux-gnu-ld: coherent.c:(.text+0x344): undefined reference to `memunmap'
   s390x-linux-gnu-ld: drivers/of/unittest.o: in function `of_unittest':
>> unittest.c:(.init.text+0x120): undefined reference to `of_dma_get_max_cpu_address'
   s390x-linux-gnu-ld: drivers/fpga/dfl.o: in function `dfl_fpga_dev_feature_init':
   dfl.c:(.text+0xd5e): undefined reference to `devm_platform_ioremap_resource'
   s390x-linux-gnu-ld: drivers/fpga/dfl.o: in function `dfl_fpga_feature_devs_enumerate':
   dfl.c:(.text+0x2b28): undefined reference to `devm_ioremap'
   s390x-linux-gnu-ld: dfl.c:(.text+0x30e8): undefined reference to `devm_iounmap'
   s390x-linux-gnu-ld: dfl.c:(.text+0x3250): undefined reference to `devm_ioremap'
   s390x-linux-gnu-ld: dfl.c:(.text+0x49a8): undefined reference to `devm_iounmap'
   s390x-linux-gnu-ld: drivers/fpga/dfl.o: in function `build_info_commit_dev':
   dfl.c:(.text+0x7f42): undefined reference to `devm_ioremap_resource'

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

Attachment: .config.gz
Description: application/gzip


[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