public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [mtd:spi-mem-ecc 29/29] drivers/spi/spi-mxic.c:688: undefined reference to `nand_ecc_unregister_on_host_hw_engine'
@ 2022-01-28 13:01 kernel test robot
  2022-01-28 17:05 ` Miquel Raynal
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-01-28 13:01 UTC (permalink / raw)
  To: Miquel Raynal; +Cc: kbuild-all, linux-kernel, Mark Brown

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc
head:   493b08141c0086ddb2126179cca7a8a7936b3582
commit: 493b08141c0086ddb2126179cca7a8a7936b3582 [29/29] spi: mxic: Add support for pipelined ECC operations
config: i386-randconfig-a014-20210930 (https://download.01.org/0day-ci/archive/20220128/202201282024.dNzYfD56-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?id=493b08141c0086ddb2126179cca7a8a7936b3582
        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 493b08141c0086ddb2126179cca7a8a7936b3582
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 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 >>):

   ld: drivers/spi/spi-mxic.o: in function `mxic_spi_mem_ecc_remove':
>> drivers/spi/spi-mxic.c:688: undefined reference to `nand_ecc_unregister_on_host_hw_engine'


vim +688 drivers/spi/spi-mxic.c

   683	
   684	static void mxic_spi_mem_ecc_remove(struct mxic_spi *mxic)
   685	{
   686		if (mxic->ecc.pipelined_engine) {
   687			mxic_ecc_put_pipelined_engine(mxic->ecc.pipelined_engine);
 > 688			nand_ecc_unregister_on_host_hw_engine(mxic->ecc.pipelined_engine);
   689		}
   690	}
   691	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-28 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28 13:01 [mtd:spi-mem-ecc 29/29] drivers/spi/spi-mxic.c:688: undefined reference to `nand_ecc_unregister_on_host_hw_engine' kernel test robot
2022-01-28 17:05 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox