[PATCH] mtd: rawnand: meson: fix the clock after discarding sd_emmc_c_clkc

kernel test robot lkp at intel.com
Thu Jan 6 06:03:44 PST 2022


Hi Liang,

I love your patch! Yet something to improve:

[auto build test ERROR on mtd/nand/next]
[also build test ERROR on v5.16-rc8 next-20220105]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Liang-Yang/mtd-rawnand-meson-fix-the-clock-after-discarding-sd_emmc_c_clkc/20220106-114103
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next
config: openrisc-randconfig-r012-20220105 (https://download.01.org/0day-ci/archive/20220106/202201062140.24LB23iM-lkp@intel.com/config)
compiler: or1k-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://github.com/0day-ci/linux/commit/a7e02cbd62a38e6fcbdcafe806b129bb287e7cf6
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Liang-Yang/mtd-rawnand-meson-fix-the-clock-after-discarding-sd_emmc_c_clkc/20220106-114103
        git checkout a7e02cbd62a38e6fcbdcafe806b129bb287e7cf6
        # 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=openrisc SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   or1k-linux-ld: drivers/mtd/nand/raw/meson_nand.o: in function `meson_nfc_probe':
>> meson_nand.c:(.text+0x21a0): undefined reference to `clk_divider_ops'
>> or1k-linux-ld: meson_nand.c:(.text+0x21a4): undefined reference to `clk_divider_ops'
>> or1k-linux-ld: meson_nand.c:(.text+0x21b0): undefined reference to `__clk_get_name'
   meson_nand.c:(.text+0x21b0): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `__clk_get_name'
>> or1k-linux-ld: meson_nand.c:(.text+0x21ec): undefined reference to `devm_clk_register'
   meson_nand.c:(.text+0x21ec): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `devm_clk_register'

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



More information about the linux-mtd mailing list