* [linux-next:master 4288/13276] coherent.c:undefined reference to `memunmap'
@ 2022-07-28 9:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-28 9:14 UTC (permalink / raw)
To: Mark-PK Tsai
Cc: llvm, kbuild-all, Linux Memory Management List, Mathieu Poirier
Hi Mark-PK,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9250d2f72dc46a808b6aa23bf50dd670f1f52ddc
commit: e61c451476e61450f6771ce03bbc01210a09be16 [4288/13276] dma-mapping: Add dma_release_coherent_memory to DMA API
config: s390-randconfig-r002-20220728 (https://download.01.org/0day-ci/archive/20220728/202207281724.oBZnmI4E-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
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=e61c451476e61450f6771ce03bbc01210a09be16
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 e61c451476e61450f6771ce03bbc01210a09be16
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x48): undefined reference to `memremap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x14a): undefined reference to `memunmap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x180): undefined reference to `memunmap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_release_coherent_memory':
>> coherent.c:(.text+0x1e2): undefined reference to `memunmap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `rmem_dma_device_init':
coherent.c:(.text+0x634): undefined reference to `memremap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x740): undefined reference to `memunmap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/crypto/ccree/cc_driver.o: in function `ccree_probe':
cc_driver.c:(.text+0x3d8): undefined reference to `devm_ioremap_resource'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function `cc_debugfs_init':
cc_debugfs.c:(.text+0x94): undefined reference to `debugfs_create_regset32'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: cc_debugfs.c:(.text+0x13a): undefined reference to `debugfs_create_regset32'
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-28 9:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-28 9:14 [linux-next:master 4288/13276] coherent.c:undefined reference to `memunmap' 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