Re: [PATCH v2 6/9] x86/clear_huge_page: multi-page clearing

From: kernel test robot
Date: Thu Aug 31 2023 - 14:27:12 EST


Hi Ankur,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/x86/core]
[also build test ERROR on akpm-mm/mm-everything tip/x86/mm tip/sched/core tip/core/entry linus/master v6.5 next-20230831]
[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/Ankur-Arora/mm-clear_huge_page-allow-arch-override-for-clear_huge_page/20230831-030156
base: tip/x86/core
patch link: https://lore.kernel.org/r/20230830184958.2333078-7-ankur.a.arora%40oracle.com
patch subject: [PATCH v2 6/9] x86/clear_huge_page: multi-page clearing
config: i386-buildonly-randconfig-006-20230831 (https://download.01.org/0day-ci/archive/20230901/202309010241.u7o4IETu-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230901/202309010241.u7o4IETu-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/202309010241.u7o4IETu-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

arch/x86/mm/hugetlbpage.c: In function 'clear_contig_region':
>> arch/x86/mm/hugetlbpage.c:155:9: error: implicit declaration of function 'clear_pages'; did you mean 'clear_page'? [-Werror=implicit-function-declaration]
155 | clear_pages(page_address(page), npages);
| ^~~~~~~~~~~
| clear_page
cc1: some warnings being treated as errors


vim +155 arch/x86/mm/hugetlbpage.c

151
152 #ifndef CONFIG_HIGHMEM
153 static void clear_contig_region(struct page *page, unsigned int npages)
154 {
> 155 clear_pages(page_address(page), npages);
156 }
157

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki