Content-Type: multipart/mixed; boundary="===============6471315283364153898==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH V2 3/3] nvmem: add driver handling U-Boot environment variables Date: Wed, 05 Jan 2022 15:40:17 +0800 Message-ID: <202201051502.yOxThsL0-lkp@intel.com> In-Reply-To: <20211230090449.11808-3-zajec5@gmail.com> List-Id: --===============6471315283364153898== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi "Rafa=C5=82, I love your patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on mtd/mtd/next mtd/mtd/fixes linus/master v5.16-rc8] [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/Rafa-Mi-ecki/mtd-core-call= -devm_of_platform_populate-for-MTD-devices/20211230-170531 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-= next config: nios2-randconfig-r013-20220105 (https://download.01.org/0day-ci/arc= hive/20220105/202201051502.yOxThsL0-lkp(a)intel.com/config) compiler: nios2-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/52f6be4712d04b927cd356dd9= 5940bd76f1f5b97 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Rafa-Mi-ecki/mtd-core-call-devm_of= _platform_populate-for-MTD-devices/20211230-170531 git checkout 52f6be4712d04b927cd356dd95940bd76f1f5b97 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dnios2 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): nios2-linux-ld: drivers/nvmem/u-boot-env.o: in function `u_boot_env_read= ': u-boot-env.c:(.text+0x2c): undefined reference to `mtd_read' u-boot-env.c:(.text+0x2c): relocation truncated to fit: R_NIOS2_CALL26 a= gainst `mtd_read' nios2-linux-ld: drivers/nvmem/u-boot-env.o: in function `u_boot_env_pars= e': u-boot-env.c:(.text+0x2d4): undefined reference to `mtd_read' u-boot-env.c:(.text+0x2d4): relocation truncated to fit: R_NIOS2_CALL26 = against `mtd_read' >> nios2-linux-ld: u-boot-env.c:(.text+0x314): undefined reference to `mtd_= read' u-boot-env.c:(.text+0x314): relocation truncated to fit: R_NIOS2_CALL26 = against `mtd_read' nios2-linux-ld: drivers/nvmem/u-boot-env.o: in function `u_boot_env_prob= e': u-boot-env.c:(.text+0x4ec): undefined reference to `get_mtd_device_nm' u-boot-env.c:(.text+0x4ec): relocation truncated to fit: R_NIOS2_CALL26 = against `get_mtd_device_nm' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6471315283364153898==--