All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-5.10 1/1] mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page'
@ 2021-04-30  6:17 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-30  6:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2508 bytes --]

tree:   https://android.googlesource.com/kernel/common android12-5.10
head:   8cd9aa93b7269460e8d5e4407738f21fe5d6e720
commit: 8cd9aa93b7269460e8d5e4407738f21fe5d6e720 [1/1] ANDROID: implement wrapper for reverse migration
config: x86_64-randconfig-a012-20210429 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9131a078901b00e68248a27a4f8c4b11bb1db1ae)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git remote add android-common https://android.googlesource.com/kernel/common
        git fetch --no-tags android-common android12-5.10
        git checkout 8cd9aa93b7269460e8d5e4407738f21fe5d6e720
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

Note: the android-common/android12-5.10 HEAD 35014985c266face161f6d107f8d8338e02a0b2d builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page'
   unsigned long isolate_and_split_free_page(struct page *page,
                 ^
   include/linux/compaction.h:241: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 +766 mm/compaction.c

   765	
 > 766	unsigned long isolate_and_split_free_page(struct page *page,
   767							struct list_head *list)
   768	{
   769		unsigned long isolated;
   770		unsigned int order;
   771	
   772		if (!PageBuddy(page))
   773			return 0;
   774	
   775		order = buddy_order(page);
   776		isolated = __isolate_free_page(page, order);
   777		if (!isolated)
   778			return 0;
   779	
   780		set_page_private(page, order);
   781		list_add(&page->lru, list);
   782	
   783		split_map_pages(list);
   784	
   785		return isolated;
   786	}
   787	EXPORT_SYMBOL_GPL(isolate_and_split_free_page);
   788	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38006 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [android-common:android12-5.10 1/1] mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page'
@ 2021-04-21  5:20 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-21  5:20 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2700 bytes --]

tree:   https://android.googlesource.com/kernel/common android12-5.10
head:   8cd9aa93b7269460e8d5e4407738f21fe5d6e720
commit: 8cd9aa93b7269460e8d5e4407738f21fe5d6e720 [1/1] ANDROID: implement wrapper for reverse migration
config: x86_64-randconfig-c022-20210420 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add android-common https://android.googlesource.com/kernel/common
        git fetch --no-tags android-common android12-5.10
        git checkout 8cd9aa93b7269460e8d5e4407738f21fe5d6e720
        # save the attached .config to linux build tree
        make W=1 W=1 ARCH=x86_64 

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:766:15: error: redefinition of 'isolate_and_split_free_page'
     766 | unsigned long isolate_and_split_free_page(struct page *page,
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from mm/compaction.c:14:
   include/linux/compaction.h:241:22: note: previous definition of 'isolate_and_split_free_page' was here
     241 | 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:241:22: warning: 'isolate_and_split_free_page' defined but not used [-Wunused-function]
     241 | static unsigned long isolate_and_split_free_page(struct page *page,
         |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/isolate_and_split_free_page +766 mm/compaction.c

   765	
 > 766	unsigned long isolate_and_split_free_page(struct page *page,
   767							struct list_head *list)
   768	{
   769		unsigned long isolated;
   770		unsigned int order;
   771	
   772		if (!PageBuddy(page))
   773			return 0;
   774	
   775		order = buddy_order(page);
   776		isolated = __isolate_free_page(page, order);
   777		if (!isolated)
   778			return 0;
   779	
   780		set_page_private(page, order);
   781		list_add(&page->lru, list);
   782	
   783		split_map_pages(list);
   784	
   785		return isolated;
   786	}
   787	EXPORT_SYMBOL_GPL(isolate_and_split_free_page);
   788	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34696 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-30  6:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30  6:17 [android-common:android12-5.10 1/1] mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-04-21  5:20 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.