[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202212040556.kioabzC3-lkp@intel.com>
Date: Sun, 4 Dec 2022 05:33:44 +0800
From: kernel test robot <lkp@...el.com>
To: Mark-PK Tsai <mark-pk.tsai@...iatek.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Mathieu Poirier <mathieu.poirier@...aro.org>
Subject: coherent.c:undefined reference to `memunmap'
Hi Mark-PK,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 97ee9d1c16963375eefdf964c429897d27e28956
commit: e61c451476e61450f6771ce03bbc01210a09be16 dma-mapping: Add dma_release_coherent_memory to DMA API
date: 5 months ago
config: s390-randconfig-r014-20221204
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 6e4cea55f0d1104408b26ac574566a0e4de48036)
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/torvalds/linux.git/commit/?id=e61c451476e61450f6771ce03bbc01210a09be16
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus 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@...el.com>
All errors (new ones prefixed by >>):
s390x-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x44): undefined reference to `memremap'
s390x-linux-ld: coherent.c:(.text+0x10a): undefined reference to `memunmap'
s390x-linux-ld: coherent.c:(.text+0x17e): undefined reference to `memunmap'
s390x-linux-ld: kernel/dma/coherent.o: in function `dma_release_coherent_memory':
>> coherent.c:(.text+0x202): undefined reference to `memunmap'
s390x-linux-ld: kernel/dma/coherent.o: in function `rmem_dma_device_init':
coherent.c:(.text+0x7c0): undefined reference to `memremap'
s390x-linux-ld: coherent.c:(.text+0x896): undefined reference to `memunmap'
s390x-linux-ld: drivers/crypto/ccree/cc_driver.o: in function `ccree_probe':
cc_driver.c:(.text+0x47a): undefined reference to `devm_ioremap_resource'
s390x-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function `cc_debugfs_init':
cc_debugfs.c:(.text+0x9a): undefined reference to `debugfs_create_regset32'
s390x-linux-ld: cc_debugfs.c:(.text+0x15e): undefined reference to `debugfs_create_regset32'
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (64341 bytes)
Powered by blists - more mailing lists