cc_driver.c:undefined reference to `devm_platform_get_and_ioremap_resource'
Subsystems (2)
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6f72958a49f68553f2b6ff713e8c8e51a34c1e1e commit: 0c70bc9dedd441b7dc0efc7426d2f5adbdd1b8e4 [2408/3406] crypto: ccree - Use devm_platform_get_and_ioremap_resource() config: s390-randconfig-r032-20230313 (https://download.01.org/0day-ci/archive/20230316/[email protected]/config) compiler: s390-linux-gcc (GCC) 12.1.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/next/linux-next.git/commit/?id=0c70bc9dedd441b7dc0efc7426d2f5adbdd1b8e4
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 0c70bc9dedd441b7dc0efc7426d2f5adbdd1b8e4
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 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 <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
s390-linux-ld: kernel/dma/coherent.o: in function `_dma_release_coherent_memory':
coherent.c:(.text+0x306): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x532): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x5e0): undefined reference to `memunmap'
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0xd4): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x216): undefined reference to `iounmap'
s390-linux-ld: drivers/misc/open-dice.o: in function `open_dice_wipe':
open-dice.c:(.text+0x2fa): undefined reference to `devm_memremap'
s390-linux-ld: open-dice.c:(.text+0x3ee): undefined reference to `devm_memunmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x1a10): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x1c34): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x1cc2): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x1d72): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0x4788): undefined reference to `iounmap'
s390-linux-ld: drivers/crypto/ccree/cc_driver.o: in function `init_cc_resources':
>> cc_driver.c:(.text+0x1232): undefined reference to `devm_platform_get_and_ioremap_resource'
s390-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function `cc_debugfs_init':
cc_debugfs.c:(.text+0x21c): undefined reference to `debugfs_create_regset32'
s390-linux-ld: cc_debugfs.c:(.text+0x3e8): undefined reference to `debugfs_create_regset32'
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Herbert Xu
maintainerPATCH 1/1 crypto: ccree - Depend on HAS_IOMEM
Add dependency on HAS_IOMEM as the build will fail without it.
drivers/crypto/Kconfig +1 -1
@@ -774,7 +774,7 @@ config CRYPTO_DEV_ARTPEC6 config CRYPTO_DEV_CCREE tristate "Support for ARM TrustZone CryptoCell family of security processors" depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA - default n + depends on HAS_IOMEM select CRYPTO_HASH select CRYPTO_SKCIPHER select CRYPTO_LIB_DES
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt