grcan.c:undefined reference to `devm_platform_ioremap_resource'

From: kernel test robot
Date: Fri Feb 12 2021 - 01:33:01 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
commit: 65725aa8829f0042db888c2b7e6cc8f1d79e7131 can: grcan: use devm_platform_ioremap_resource() to simplify code
date: 1 year, 3 months ago
config: s390-randconfig-r006-20210209 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=65725aa8829f0042db888c2b7e6cc8f1d79e7131
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 65725aa8829f0042db888c2b7e6cc8f1d79e7131
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 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 >>):

s390-linux-ld: drivers/dma/fsl-edma.o: in function `fsl_edma_probe':
fsl-edma.c:(.text+0x122a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: fsl-edma.c:(.text+0x135c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe':
hidma.c:(.text+0xb22): undefined reference to `devm_ioremap_resource'
s390-linux-ld: hidma.c:(.text+0xb82): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
main.c:(.text+0xda): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x12a): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_attach':
main.c:(.text+0x35c): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x3a6): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe':
main.c:(.text+0x6ba): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x78a): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x7ea): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x82a): undefined reference to `iounmap'
s390-linux-ld: drivers/net/can/grcan.o: in function `grcan_probe':
>> grcan.c:(.text+0xb04): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0xb0): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0xc8): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x14e): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x16e): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0x1476): undefined reference to `iounmap'

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

Attachment: .config.gz
Description: application/gzip