Hi Md, kernel test robot noticed the following build errors: [auto build test ERROR on mtd/nand/next] [also build test ERROR on broonie-spi/for-next robh/for-next linus/master v6.12-rc2 next-20241011] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Md-Sadre-Alam/spi-dt-bindings-Introduce-qcom-spi-qpic-snand/20241010-161236 base: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next patch link: https://lore.kernel.org/r/20241010070510.1504250-5-quic_mdalam%40quicinc.com patch subject: [PATCH v11 4/8] mtd: nand: Add qpic_common API file config: csky-randconfig-r123-20241012 (https://download.01.org/0day-ci/archive/20241013/202410130129.M8J7VJoG-lkp@xxxxxxxxx/config) compiler: csky-linux-gcc (GCC) 14.1.0 reproduce: (https://download.01.org/0day-ci/archive/20241013/202410130129.M8J7VJoG-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202410130129.M8J7VJoG-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nandc_remove': >> drivers/mtd/nand/raw/qcom_nandc.c:2347:(.text+0x3ce): undefined reference to `nand_cleanup' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `config_nand_page_write': drivers/mtd/nand/raw/qcom_nandc.c:377:(.text+0x538): undefined reference to `nand_cleanup' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_parse_instructions': >> drivers/mtd/nand/raw/qcom_nandc.c:1626:(.text+0x756): undefined reference to `nand_subop_get_addr_start_off' >> csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1627:(.text+0x766): undefined reference to `nand_subop_get_num_addr_cyc' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_misc_cmd_type_exec': drivers/mtd/nand/raw/qcom_nandc.c:1823:(.text+0x8a8): undefined reference to `nand_subop_get_addr_start_off' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1823:(.text+0x8ac): undefined reference to `nand_subop_get_num_addr_cyc' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_param_page_type_exec': >> drivers/mtd/nand/raw/qcom_nandc.c:1917:(.text+0xa3e): undefined reference to `nand_subop_get_data_len' >> csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1951:(.text+0xb64): undefined reference to `nand_subop_get_data_len' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_read_status_exec': drivers/mtd/nand/raw/qcom_nandc.c:1747:(.text+0xcc6): undefined reference to `nand_subop_get_data_len' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1752:(.text+0xd14): undefined reference to `nand_subop_get_data_len' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_read_id_type_exec': drivers/mtd/nand/raw/qcom_nandc.c:1794:(.text+0xdee): undefined reference to `nand_subop_get_data_len' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nand_attach_chip': >> drivers/mtd/nand/raw/qcom_nandc.c:1393:(.text+0xe4c): undefined reference to `nand_ecc_choose_conf' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1403:(.text+0xed8): undefined reference to `nand_subop_get_data_len' >> csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1403:(.text+0xee8): undefined reference to `nand_ecc_choose_conf' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nandc_write_page_raw': >> drivers/mtd/nand/raw/qcom_nandc.c:1054:(.text+0x10cc): undefined reference to `nand_prog_page_begin_op' >> csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1109:(.text+0x11fe): undefined reference to `nand_prog_page_end_op' >> csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1110:(.text+0x1218): undefined reference to `nand_prog_page_begin_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1110:(.text+0x1238): undefined reference to `nand_prog_page_end_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nandc_read_cw_raw': >> drivers/mtd/nand/raw/qcom_nandc.c:482:(.text+0x1266): undefined reference to `nand_read_page_op' >> csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:542:(.text+0x1468): undefined reference to `nand_read_page_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `check_for_erased_page': >> drivers/mtd/nand/raw/qcom_nandc.c:600:(.text+0x15bc): undefined reference to `nand_check_erased_ecc_chunk' >> csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:613:(.text+0x1618): undefined reference to `nand_check_erased_ecc_chunk' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `nand_scan': >> include/linux/mtd/rawnand.h:1592:(.text+0x1af6): undefined reference to `nand_scan_with_ids' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nand_host_parse_boot_partitions': >> drivers/mtd/nand/raw/qcom_nandc.c:2091:(.text+0x1bb0): undefined reference to `nand_scan_with_ids' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nand_host_init_and_register': drivers/mtd/nand/raw/qcom_nandc.c:2195:(.text+0x1c88): undefined reference to `nand_cleanup' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_check_op': drivers/mtd/nand/raw/qcom_nandc.c:2008:(.text+0x1d4c): undefined reference to `nand_cleanup' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nand_exec_op': >> drivers/mtd/nand/raw/qcom_nandc.c:2017:(.text+0x1d60): undefined reference to `nand_op_parser_exec_op' >> csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:2018:(.text+0x1d94): undefined reference to `nand_op_parser_exec_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nandc_read_page': drivers/mtd/nand/raw/qcom_nandc.c:905:(.text+0x20fe): undefined reference to `nand_read_page_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:919:(.text+0x2198): undefined reference to `nand_read_page_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nandc_block_markbad': >> drivers/mtd/nand/raw/qcom_nandc.c:1234:(.text+0x228c): undefined reference to `nand_prog_page_end_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nandc_write_oob': drivers/mtd/nand/raw/qcom_nandc.c:1158:(.text+0x239a): undefined reference to `nand_prog_page_end_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1159:(.text+0x23cc): undefined reference to `nand_prog_page_end_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nandc_write_page': drivers/mtd/nand/raw/qcom_nandc.c:980:(.text+0x2410): undefined reference to `nand_prog_page_begin_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1036:(.text+0x2524): undefined reference to `nand_prog_page_end_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.o: in function `qcom_nandc_block_bad': drivers/mtd/nand/raw/qcom_nandc.c:1167:(.text+0x2648): undefined reference to `nand_prog_page_begin_op' csky-linux-ld: drivers/mtd/nand/raw/qcom_nandc.c:1167:(.text+0x2668): undefined reference to `nand_prog_page_end_op' vim +2347 drivers/mtd/nand/raw/qcom_nandc.c c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2334 ec185b18c22323 drivers/mtd/nand/raw/qcom_nandc.c Uwe Kleine-König 2023-04-11 2335 static void qcom_nandc_remove(struct platform_device *pdev) c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2336 { c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2337 struct qcom_nand_controller *nandc = platform_get_drvdata(pdev); 7330fc505af4af drivers/mtd/nand/raw/qcom_nandc.c Arnd Bergmann 2018-07-17 2338 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2339 struct qcom_nand_host *host; 0a2bc9919cf74e drivers/mtd/nand/raw/qcom_nandc.c Miquel Raynal 2020-05-19 2340 struct nand_chip *chip; 0a2bc9919cf74e drivers/mtd/nand/raw/qcom_nandc.c Miquel Raynal 2020-05-19 2341 int ret; c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2342 0a2bc9919cf74e drivers/mtd/nand/raw/qcom_nandc.c Miquel Raynal 2020-05-19 2343 list_for_each_entry(host, &nandc->host_list, node) { 0a2bc9919cf74e drivers/mtd/nand/raw/qcom_nandc.c Miquel Raynal 2020-05-19 2344 chip = &host->chip; 0a2bc9919cf74e drivers/mtd/nand/raw/qcom_nandc.c Miquel Raynal 2020-05-19 2345 ret = mtd_device_unregister(nand_to_mtd(chip)); 0a2bc9919cf74e drivers/mtd/nand/raw/qcom_nandc.c Miquel Raynal 2020-05-19 2346 WARN_ON(ret); 0a2bc9919cf74e drivers/mtd/nand/raw/qcom_nandc.c Miquel Raynal 2020-05-19 @2347 nand_cleanup(chip); 0a2bc9919cf74e drivers/mtd/nand/raw/qcom_nandc.c Miquel Raynal 2020-05-19 2348 } 7330fc505af4af drivers/mtd/nand/raw/qcom_nandc.c Arnd Bergmann 2018-07-17 2349 c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2350 qcom_nandc_unalloc(nandc); c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2351 c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2352 clk_disable_unprepare(nandc->aon_clk); c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2353 clk_disable_unprepare(nandc->core_clk); c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2354 7330fc505af4af drivers/mtd/nand/raw/qcom_nandc.c Arnd Bergmann 2018-07-17 2355 dma_unmap_resource(&pdev->dev, nandc->base_dma, resource_size(res), 7330fc505af4af drivers/mtd/nand/raw/qcom_nandc.c Arnd Bergmann 2018-07-17 2356 DMA_BIDIRECTIONAL, 0); c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2357 } c76b78d8ec05a2 drivers/mtd/nand/qcom_nandc.c Archit Taneja 2016-02-03 2358 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki