* [ammarfaizi2-block:google/android/kernel/common/android13-5.15 5191/5193] mm/compaction.c:761:15: error: redefinition of 'isolate_and_split_free_page'
@ 2022-03-18 13:21 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-03-18 13:21 UTC (permalink / raw)
To: Charan Teja Reddy
Cc: llvm, kbuild-all, GNU/Weeb Mailing List, linux-kernel,
Suren Baghdasaryan
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: i386-randconfig-a006 (https://download.01.org/0day-ci/archive/20220318/[email protected]/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6e70e4056dff962ec634c5bd4f2f4105a0bef71)
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=clang make.cross 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 <[email protected]>
All errors (new ones prefixed by >>):
>> mm/compaction.c:761:15: error: redefinition of 'isolate_and_split_free_page'
unsigned long isolate_and_split_free_page(struct page *page,
^
include/linux/compaction.h:230:22: note: previous definition is here
static unsigned long isolate_and_split_free_page(struct page *page,
^
1 error generated.
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/[email protected]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ammarfaizi2-block:google/android/kernel/common/android13-5.15 5191/5193] mm/compaction.c:761:15: error: redefinition of 'isolate_and_split_free_page'
@ 2022-03-18 7:09 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-03-18 7:09 UTC (permalink / raw)
To: Charan Teja Reddy
Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel,
Suren Baghdasaryan
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/[email protected]/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 <[email protected]>
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/[email protected]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-18 13:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-18 13:21 [ammarfaizi2-block:google/android/kernel/common/android13-5.15 5191/5193] mm/compaction.c:761:15: error: redefinition of 'isolate_and_split_free_page' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-03-18 7:09 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox