lkml.org 
[lkml]   [2022]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[mtd:spi-mem-ecc 17/30] core.c:undefined reference to `of_get_nand_ecc_user_config'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc
head: 6d0fadec1de4434fce145b374ef25c665357fa60
commit: 319169b2a767b293984ae2c5e22268fecfb91864 [17/30] mtd: nand: ecc: Rework Kconfig dependencies
config: nds32-randconfig-r002-20220130 (https://download.01.org/0day-ci/archive/20220201/202202011225.0FOJ4kd2-lkp@intel.com/config)
compiler: nds32le-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/mtd/linux.git/commit/?id=319169b2a767b293984ae2c5e22268fecfb91864
git remote add mtd https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
git fetch --no-tags mtd spi-mem-ecc
git checkout 319169b2a767b293984ae2c5e22268fecfb91864
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

nds32le-linux-ld: drivers/mtd/nand/core.o: in function `nanddev_ecc_engine_init':
>> core.c:(.text+0x69c): undefined reference to `of_get_nand_ecc_user_config'
>> nds32le-linux-ld: core.c:(.text+0x6a0): undefined reference to `of_get_nand_ecc_user_config'
>> nds32le-linux-ld: core.c:(.text+0x6c4): undefined reference to `nand_ecc_init_ctx'
nds32le-linux-ld: core.c:(.text+0x6c8): undefined reference to `nand_ecc_init_ctx'
>> nds32le-linux-ld: core.c:(.text+0x6de): undefined reference to `nand_ecc_put_on_host_hw_engine'
nds32le-linux-ld: core.c:(.text+0x6e2): undefined reference to `nand_ecc_put_on_host_hw_engine'
>> nds32le-linux-ld: core.c:(.text+0x70e): undefined reference to `nand_ecc_is_strong_enough'
nds32le-linux-ld: core.c:(.text+0x712): undefined reference to `nand_ecc_is_strong_enough'
>> nds32le-linux-ld: core.c:(.text+0x728): undefined reference to `nand_ecc_get_on_die_hw_engine'
nds32le-linux-ld: core.c:(.text+0x72c): undefined reference to `nand_ecc_get_on_die_hw_engine'
>> nds32le-linux-ld: core.c:(.text+0x73c): undefined reference to `nand_ecc_get_on_host_hw_engine'
nds32le-linux-ld: core.c:(.text+0x740): undefined reference to `nand_ecc_get_on_host_hw_engine'
>> nds32le-linux-ld: core.c:(.text+0x758): undefined reference to `nand_ecc_get_sw_engine'
nds32le-linux-ld: core.c:(.text+0x75c): undefined reference to `nand_ecc_get_sw_engine'
nds32le-linux-ld: drivers/mtd/nand/core.o: in function `nanddev_ecc_engine_cleanup':
>> core.c:(.text+0x7e4): undefined reference to `nand_ecc_cleanup_ctx'
>> nds32le-linux-ld: core.c:(.text+0x7e8): undefined reference to `nand_ecc_cleanup_ctx'
nds32le-linux-ld: core.c:(.text+0x804): undefined reference to `nand_ecc_put_on_host_hw_engine'
nds32le-linux-ld: core.c:(.text+0x808): undefined reference to `nand_ecc_put_on_host_hw_engine'
nds32le-linux-ld: drivers/mtd/nand/ecc-sw-hamming.o: in function `nand_ecc_sw_hamming_cleanup_ctx':
>> ecc-sw-hamming.c:(.text+0x24): undefined reference to `nand_ecc_cleanup_req_tweaking'
>> nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x28): undefined reference to `nand_ecc_cleanup_req_tweaking'
nds32le-linux-ld: drivers/mtd/nand/ecc-sw-hamming.o: in function `nand_ecc_sw_hamming_init_ctx':
>> ecc-sw-hamming.c:(.text+0xe6): undefined reference to `nand_ecc_init_req_tweaking'
>> nds32le-linux-ld: ecc-sw-hamming.c:(.text+0xea): undefined reference to `nand_ecc_init_req_tweaking'
>> nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x19c): undefined reference to `nand_get_large_page_hamming_ooblayout'
nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x1a0): undefined reference to `nand_get_large_page_hamming_ooblayout'
>> nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x1b0): undefined reference to `nand_get_small_page_ooblayout'
nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x1b4): undefined reference to `nand_get_small_page_ooblayout'
nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x1c8): undefined reference to `nand_ecc_cleanup_req_tweaking'
nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x1cc): undefined reference to `nand_ecc_cleanup_req_tweaking'
nds32le-linux-ld: drivers/mtd/nand/ecc-sw-hamming.o: in function `nand_ecc_sw_hamming_prepare_io_req':
>> ecc-sw-hamming.c:(.text+0x614): undefined reference to `nand_ecc_tweak_req'
>> nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x618): undefined reference to `nand_ecc_tweak_req'
nds32le-linux-ld: drivers/mtd/nand/ecc-sw-hamming.o: in function `nand_ecc_sw_hamming_finish_io_req':
>> ecc-sw-hamming.c:(.text+0x9ca): undefined reference to `nand_ecc_restore_req'
>> nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x9ce): undefined reference to `nand_ecc_restore_req'
nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x9ee): undefined reference to `nand_ecc_restore_req'
nds32le-linux-ld: ecc-sw-hamming.c:(.text+0x9f2): undefined reference to `nand_ecc_restore_req'
nds32le-linux-ld: net/core/sock.o: in function `sk_destruct':
sock.c:(.text+0x2430): undefined reference to `__sk_defer_free_flush'
nds32le-linux-ld: sock.c:(.text+0x2434): undefined reference to `__sk_defer_free_flush'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MTD_NAND_ECC_SW_HAMMING
Depends on MTD && MTD_NAND_ECC
Selected by
- SM_FTL && MTD && BLOCK

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

\
 
 \ /
  Last update: 2022-02-01 05:49    [W:0.707 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site