* [linux-next:master 2408/3406] cc_driver.c:undefined reference to `devm_platform_get_and_ioremap_resource'
@ 2023-03-16 5:17 kernel test robot
2023-03-16 5:30 ` [PATCH] crypto: ccree - Depend on HAS_IOMEM Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-03-16 5:17 UTC (permalink / raw)
To: Yang Li; +Cc: oe-kbuild-all, Linux Memory Management List, Herbert Xu
tree: 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/202303161354.T2OZFUFZ-lkp@intel.com/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 <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303161354.T2OZFUFZ-lkp@intel.com/
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'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] crypto: ccree - Depend on HAS_IOMEM
2023-03-16 5:17 [linux-next:master 2408/3406] cc_driver.c:undefined reference to `devm_platform_get_and_ioremap_resource' kernel test robot
@ 2023-03-16 5:30 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2023-03-16 5:30 UTC (permalink / raw)
To: kernel test robot; +Cc: Yang Li, oe-kbuild-all, Linux Crypto Mailing List
Add dependency on HAS_IOMEM as the build will fail without it.
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303161354.T2OZFUFZ-lkp@intel.com/
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 351d05db39cf..ea0a1036c6e3 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -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
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-16 5:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 5:17 [linux-next:master 2408/3406] cc_driver.c:undefined reference to `devm_platform_get_and_ioremap_resource' kernel test robot
2023-03-16 5:30 ` [PATCH] crypto: ccree - Depend on HAS_IOMEM Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).