[char-misc:char-misc-testing 58/82] nintendo-otp.c:undefined reference to `devm_ioremap_resource'

From: kernel test robot
Date: Tue Aug 24 2021 - 18:40:23 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
head: 8c61951b372d83b426a66dafc9c4ac24b3ce3335
commit: 3683b761fe3a10ad18515acd5368dd601268cfe5 [58/82] nvmem: nintendo-otp: Add new driver for the Wii and Wii U OTP
config: s390-randconfig-r022-20210825 (attached as .config)
compiler: s390-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?id=3683b761fe3a10ad18515acd5368dd601268cfe5
git remote add char-misc https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
git fetch --no-tags char-misc char-misc-testing
git checkout 3683b761fe3a10ad18515acd5368dd601268cfe5
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x9ea): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0xb46): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0xe06): undefined reference to `memunmap'
s390-linux-ld: drivers/dma/fsl-edma.o: in function `fsl_edma_probe':
fsl-edma.c:(.text+0xa50): undefined reference to `devm_ioremap_resource'
s390-linux-ld: fsl-edma.c:(.text+0xb5e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/idma64.o: in function `idma64_platform_probe':
idma64.c:(.text+0x1450): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/nvmem/nintendo-otp.o: in function `nintendo_otp_probe':
>> nintendo-otp.c:(.text+0x1d4): 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