From: kernel test robot <[email protected]>
To: Charan Teja Reddy <[email protected]>
Cc: [email protected],
GNU/Weeb Mailing List <[email protected]>,
[email protected],
Suren Baghdasaryan <[email protected]>
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'
Date: Fri, 18 Mar 2022 15:09:53 +0800 [thread overview]
Message-ID: <[email protected]> (raw)
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]
next reply other threads:[~2022-03-18 7:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-18 7:09 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox