Hi Zi, kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on brauner-vfs/vfs.all kdave/for-next linus/master v7.0-rc5 next-20260327] [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/Zi-Yan/mm-remove-READ_ONLY_THP_FOR_FS-Kconfig-option/20260327-142622 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20260327014255.2058916-8-ziy%40nvidia.com patch subject: [PATCH v1 07/10] mm/truncate: use folio_split() in truncate_inode_partial_folio() config: nios2-allnoconfig (https://download.01.org/0day-ci/archive/20260328/[email protected]/config) compiler: nios2-linux-gcc (GCC) 11.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260328/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All error/warnings (new ones prefixed by >>): In file included from include/linux/mm.h:1746, from include/linux/pid_namespace.h:7, from include/linux/ptrace.h:10, from arch/nios2/kernel/asm-offsets.c:10: >> include/linux/huge_mm.h:625:1: error: expected identifier or '(' before '{' >> token 625 | { | ^ >> include/linux/huge_mm.h:623:19: warning: 'folio_split' declared 'static' but >> never defined [-Wunused-function] 623 | static inline int folio_split(struct folio *folio, unsigned int new_order, | ^~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:184: arch/nios2/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1337: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:248: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +625 include/linux/huge_mm.h e220917fa50774 Luis Chamberlain 2024-08-22 622 9ee18d22957981 Zi Yan 2026-03-26 @623 static inline int folio_split(struct folio *folio, unsigned int new_order, 9ee18d22957981 Zi Yan 2026-03-26 624 struct page *page, struct list_head *list); 7460b470a131f9 Zi Yan 2025-03-07 @625 { a488ba3124c82d Pankaj Raghav 2025-09-05 626 VM_WARN_ON_ONCE_FOLIO(1, folio); a488ba3124c82d Pankaj Raghav 2025-09-05 627 return -EINVAL; 7460b470a131f9 Zi Yan 2025-03-07 628 } 7460b470a131f9 Zi Yan 2025-03-07 629 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki

