Messages in this thread | | | Date | Fri, 18 Mar 2022 15:09:53 +0800 | From | kernel test robot <> | Subject | [ammarfaizi2-block:google/android/kernel/common/android13-5.15 5191/5193] mm/compaction.c:761:15: error: redefinition of 'isolate_and_split_free_page' |
| |
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.15 head: f82f0ceba5827c9d5a3c9326c95f591ebf254003 commit: f47b852faa4afaae0e534b616f2864bb587286e4 [5191/5193] ANDROID: implement wrapper for reverse migration config: arm64-buildonly-randconfig-r005-20220318 (https://download.01.org/0day-ci/archive/20220318/202203181524.vEJlM4Ub-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 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/ammarfaizi2/linux-block/commit/f47b852faa4afaae0e534b616f2864bb587286e4 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.15 git checkout f47b852faa4afaae0e534b616f2864bb587286e4 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 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 >>):
>> mm/compaction.c:761:15: error: redefinition of 'isolate_and_split_free_page' 761 | unsigned long isolate_and_split_free_page(struct page *page, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mm/compaction.c:14: include/linux/compaction.h:230:22: note: previous definition of 'isolate_and_split_free_page' with type 'long unsigned int(struct page *, struct list_head *)' 230 | static unsigned long isolate_and_split_free_page(struct page *page, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/compaction.c:56:27: warning: 'HPAGE_FRAG_CHECK_INTERVAL_MSEC' defined but not used [-Wunused-const-variable=] 56 | static const unsigned int HPAGE_FRAG_CHECK_INTERVAL_MSEC = 500; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mm/compaction.c:14: include/linux/compaction.h:230:22: warning: 'isolate_and_split_free_page' defined but not used [-Wunused-function] 230 | static unsigned long isolate_and_split_free_page(struct page *page, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/isolate_and_split_free_page +761 mm/compaction.c
760 > 761 unsigned long isolate_and_split_free_page(struct page *page, 762 struct list_head *list) 763 { 764 unsigned long isolated; 765 unsigned int order; 766 767 if (!PageBuddy(page)) 768 return 0; 769 770 order = buddy_order(page); 771 isolated = __isolate_free_page(page, order); 772 if (!isolated) 773 return 0; 774 775 set_page_private(page, order); 776 list_add(&page->lru, list); 777 778 split_map_pages(list); 779 780 return isolated; 781 } 782 EXPORT_SYMBOL_GPL(isolate_and_split_free_page); 783
--- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |