Content-Type: multipart/mixed; boundary="===============8042573839850244085==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v4 2/4] mtd: rawnand: rzn1: Add new NAND controller driver Date: Thu, 16 Dec 2021 04:35:35 +0800 Message-ID: <202112160417.TvfPZeKJ-lkp@intel.com> In-Reply-To: <20211215154619.166360-3-miquel.raynal@bootlin.com> List-Id: --===============8042573839850244085== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Miquel, I love your patch! Yet something to improve: [auto build test ERROR on mtd/nand/next] [also build test ERROR on geert-renesas-devel/next mtd/mtd/next mtd/mtd/fix= es linus/master v5.16-rc5 next-20211214] [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/Miquel-Raynal/Renesas-RZ-N= 1-NAND-controller-support/20211215-234825 base: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/= next config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20211216/2= 02112160417.TvfPZeKJ-lkp(a)intel.com/config) compiler: sh4-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/4899a382aebedd2033aba1a8c= 662767c86c8d74d git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Miquel-Raynal/Renesas-RZ-N1-NAND-c= ontroller-support/20211215-234825 git checkout 4899a382aebedd2033aba1a8c662767c86c8d74d # 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=3Dsh SHELL=3D/bin/bash drivers/mtd/nand/raw/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/mtd/nand/raw/rzn1-nand-controller.c:14: >> drivers/mtd/nand/raw/rzn1-nand-controller.c:1408:25: error: 'nandc_id_ta= ble' undeclared here (not in a function); did you mean 'rzn1_nandc_id_table= '? 1408 | MODULE_DEVICE_TABLE(of, nandc_id_table); | ^~~~~~~~~~~~~~ include/linux/module.h:244:15: note: in definition of macro 'MODULE_DEVI= CE_TABLE' 244 | extern typeof(name) __mod_##type##__##name##_device_table = \ | ^~~~ >> include/linux/module.h:244:21: error: '__mod_of__nandc_id_table_device_t= able' aliased to undefined symbol 'nandc_id_table' 244 | extern typeof(name) __mod_##type##__##name##_device_table = \ | ^~~~~~ drivers/mtd/nand/raw/rzn1-nand-controller.c:1408:1: note: in expansion o= f macro 'MODULE_DEVICE_TABLE' 1408 | MODULE_DEVICE_TABLE(of, nandc_id_table); | ^~~~~~~~~~~~~~~~~~~ vim +1408 drivers/mtd/nand/raw/rzn1-nand-controller.c 1403 = 1404 static const struct of_device_id rzn1_nandc_id_table[] =3D { 1405 { .compatible =3D "renesas,rzn1-nand-controller" }, 1406 {} /* sentinel */ 1407 }; > 1408 MODULE_DEVICE_TABLE(of, nandc_id_table); 1409 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8042573839850244085==--